.snow,.snow:after,.snow::before {
    content: '';
    position: absolute;
    top: -1250px;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(4px 4px at 100px 50px,#fff,transparent),
    radial-gradient(6px 6px at 200px 150px, #fff,transparent),
    radial-gradient(3px 3px at 300px 250px,#fff,transparent),
    radial-gradient(4px 4px at 400px 350px,#fff,transparent),
    radial-gradient(6px 6px at 500px 100px,#fff,transparent),
    radial-gradient(3px 3px at 50px 200px,#fff,transparent),
    radial-gradient(4px 4px at 150px 300px,#fff,transparent),
    radial-gradient(6px 6px at 250px 400px,#fff,transparent),
    radial-gradient(3px 3px at 350px 500px,#fff,transparent),
    radial-gradient(4px 4px at 550px 550px,#fff,transparent);
    background-size: 650px 250px;
    animation: SnowAnim 3s linear infinite;
}
.snow:after {
    margin-left: -250px;
    opacity: 0.5;
    filter: blur(2px);
    animation-direction: reverse;
    animation-duration: 6s;
}
.snow::before {
    margin-left: -350px;
    opacity: 0.7;
    filter: blur(1px);
    animation-direction: reverse;
    animation-duration: 9s;
}
@keyframes SnowAnim {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(650px);
    }
}

.catalog-card.disabled{
    opacity: 0.5;
    filter: grayscale(70%);
    pointer-events: none;
    cursor: not-allowed;
    color: #999 !important;

    /* 4. Для IE старых версий (если нужно) */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

.load {
    position: relative;
    pointer-events: none;
    user-select: none;
}

/* Затемнение контейнера */
.load::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 998;
    border-radius: 8px;
}

.load::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 999;
}

.news-detail .text-block__cont img {
    height: auto !important;
    max-width: 100%;
}

.marketplace {
}

.marketplace-item {
    margin-bottom: 30px;
    width: 300px;
}

.marketplace-item__link {
    display: block;
}

.marketplace-item__img {
    display: block;
    width: 100%;
    height: 100px;
    object-fit: contain;
}

.banner-slider__bg img {
    background-color: white;
}

.main-banner__header,
.main-banner__nav {
    display: none !important;
}

.main-banner__slider {
    position: relative;
}

.main-banner__controls {
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 11;
}

.main-banner__control {
    align-items: center;
    background: hsla(0, 0%, 0%, .25);
    border: 1px solid hsla(0, 0%, 100%, .35);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    height: 48px;
    justify-content: center;
    padding: 0;
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color .3s ease, border-color .3s ease, opacity .3s ease;
    width: 48px;
}

.main-banner__control--prev {
    left: clamp(16px, 4vw, 48px);
}

.main-banner__control--next {
    right: clamp(16px, 4vw, 48px);
}

.main-banner__control-icon {
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    height: 24px;
    opacity: 1;
    width: 24px;
}

.main-banner__control--prev .main-banner__control-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='48' height='48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 38 14 24 30 10M14 24h28' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.main-banner__control--next .main-banner__control-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='48' height='48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 10l16 14-16 14M34 24H6' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.main-banner__control:hover,
.main-banner__control:focus-visible {
    background: hsla(0, 0%, 0%, .45);
    border-color: #fff;
}

.main-banner__content {
    bottom: 0;
    color: #fff;
    left: 0;
    padding-bottom: 2rem;
    pointer-events: none;
    position: absolute;
    right: 0;
    z-index: 12;
}

.main-banner__content-wrapper {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    gap: 2.4rem;
    justify-content: flex-start;
    margin: 0 auto;
    max-width: 180rem;
    padding: 0 2rem;
    width: 100%;
}

.main-banner__info {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
}

.main-banner .main-banner__info-group {
    display: none;
}

.main-banner .main-banner__info-group.active {
    align-items: center;
    animation: main-banner-content-fade 0.5s linear forwards;
    display: flex;
    gap: 2.4rem;
}

.main-banner__link {
    align-items: center;
    background: #fff;
    color: #000;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1.6rem;
    font-weight: 400;
    gap: .8rem;
    letter-spacing: -.01em;
    line-height: 1.07;
    padding: 1.6rem 1.8rem;
    pointer-events: auto;
    position: relative;
    text-decoration: none;
    transition: opacity .3s ease;
    z-index: 1;
    left: 7rem;
    bottom: 7rem;
}

.main-banner__link:hover {
    opacity: .85;
}

.main-banner__link-arrow {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 7.5 10.52 3M15 7.5 10.52 12M15 7.5H1' stroke='%23000'/%3E%3C/svg%3E");
    background-position: 50%;
    background-repeat: no-repeat;
    display: block;
    flex-shrink: 0;
    height: 16px;
    width: 16px;
}

@keyframes main-banner-content-fade {
    0% {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media screen and (max-width: 760px) {
    .main-banner__btn {
        display: none;
    }

    .main-banner__control {
        height: 40px;
        width: 40px;
    }

    .main-banner__control-icon {
        height: 20px;
        width: 20px;
    }

    .main-banner__content-wrapper {
        align-items: flex-start;
        flex-direction: column;
    }

    .main-banner .main-banner__info-group.active {
        align-items: flex-start;
        gap: 16px;
    }
}

.copyText {
    position: fixed;
    background: #000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 9999;
}

/* смена цвета иконок */
.catalog-card__compare,
.catalog-card__fav,
.compare-card__fav,
.compare-card__del {
    filter: invert(1);
}

/* смена цвета иконок */
.product-card__fav,
.product-card__compare {
    filter: invert(1);
}

.product-slider__item {
    display: flex;
    height: auto;
}

.product-slider__item .catalog__item {
    display: flex;
    height: 100%;
    width: 100%;
}

.product-slider__item .catalog-card {
    width: 100%;
}

/* артикул в каталоге у которых нет цветов */
.catalog-card:not(.catalog-card--tile) .catalog-card__article {
    position: relative;
    pointer-events: all;
    cursor: pointer;
    margin-bottom: 5px;
    display: none;
    opacity: 0;
    visibility: hidden;
}

.catalog-card:not(.catalog-card--tile) .catalog-card__article span {
    background: #404042;
    color: #fff;
    font-size: 12px;
    line-height: 12px;
    padding: 5px;
}

.catalog-card:not(.catalog-card--tile):hover .catalog-card__article {
    display: block;
    opacity: 1;
    visibility: visible;
}

.wrapper-no-padding {
    padding-bottom: 0px !important;
}

.seo-text h2 {
    font-size: 16px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.seo-text {
    margin-top: -100px;
    margin-bottom: 60px;
    font-size: 12px;
}

.seo-pages.wrapper {
    display: inline-block !important;
}

.footer__main {
    justify-content: space-between;
    display: flex;
    /*grid-column: 4/8;*/
}

.catalog__item--bg .catalog-card__label {
    left: 12%;
}

.catalog__item--bg .catalog-card__compare {
    right: 19%;
}

.catalog__item--bg .catalog-card__fav {
    right: 12%;
}

.catalog__item--bg .catalog-card__colors {
    padding-left: 10%;
}
.catalog-card__colors-item {
    width: 20px;
    height: 20px;
}
.catalog__item--bg .catalog-card__desc {
    padding-left: 10%;
}

.headquarters .contacts__right {
    -ms-grid-column-span: 8;
    -ms-grid-column: 5;
    grid-column: 5/13;
}

.headquarters .contacts__map {
    margin-top: 20px;
}

.headquarters .order-form__cont {
    grid-template-columns: unset;
}

.headquarters .contacts__item-name {
    padding-bottom: 14px;
}

.headquarters .contacts__select {
    margin: 5px 0 0 0;
}

.headquarters .contacts__hint {
    margin: 5px 0 20px 0;
    font-size: 11px;
}

.headquarters .contacts__select .select-selected {
    border-bottom: 1px solid #000;
    color: #000;
    font-weight: bold;
}

.headquarters .contacts__select .select-selected::after {
    opacity: 1;
}

.header__catalog-nav > .wrapper::before {
    top: 0;
    pointer-events: none;
}

.header__menu-link {
    /* z-index: 21; */
}

.image-upload__input {
    display: none;
}

.image-upload__button {
    width: 100%;
}

.image-upload__img {
    margin: 10px 0;
    width: 100%;
}

.detail-awards__item-icon {
    width: 150px;
    margin-bottom: 15px;
}

.detail-awards__item {
    width: unset;
    cursor: pointer;
}

.detail-awards__item-year {
    margin-bottom: 10px;
}

.detail-awards__show-all {
    color: #b9b9b9;
    margin-top: 30px;
    cursor: pointer;
}

.detail-awards__list.all {
    transform: unset !important;
    flex-wrap: wrap;
}

.detail-awards__list.all .swiper-slide:nth-child(5n) {
    margin-right: 0 !important;
}
.awards + .product-about {
    margin-top: 20px;
}

@media screen and (max-width: 760px) {
    .footer__contacts {
        grid-column: 1;
    }

    .footer__main {
        grid-column: 2;
    }

    .footer__phone {
        grid-column: 1;
    }

    .footer__top {
        margin-bottom: 40px;
        /*font-size: 14px;*/
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__about {
        grid-column: span 1;
    }

    .footer__phone--mob {
        display: none;
    }

    .footer__phone--desc {
        display: block;
    }

    .footer-menu {
        margin-left: 5px;
    }

    .headquarters .contacts__right {
        grid-column: auto;
        max-width: 100%;
    }

    .footer-second-colum {
        grid-column-start: 1 !important;
        grid-column: auto !important;
    }
}

.subcategory-menu .active h1 {
    font-size: 16px;
    font-weight: 400;
    display: block;
}

/*.swiper-button-prev
{
    display:none;
    padding-bottom:20px!important;
}
.carousel__button .is-prev
{
    display:none!important;
}
.swiper-button-next
{
    display:none;
    padding-bottom:20px!important;
}
.carousel__button .is-next
{
    display:none!important;
}*/
.footer-second-colum {
    grid-column: 6/8;
}
.additional-height {
    min-height: 320px;
}
.btn-cookie-success {
    width: 45% !important;
    text-align: center;
    display: inline;
    margin-right: 10px;
}
.btn-cookie-decline {
    width: 45% !important;
    text-align: center;
    display: inline;
}

.footer__brands-item {
    margin: 0 10px;
}
.footer__brands-item img {
    height: unset;
    min-height: unset;
}
@media screen and (max-width: 760px) {
    .footer__brands-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
@media screen and (max-width: 1720px) {
    .search-input__input {
        font-size: 24px;
        letter-spacing: -0.03em;
    }
}
.category-menu__item .category-submenu {
    height: auto;
    padding-bottom: 10px;
    background-color: #fff;
    z-index: 10;
}
.base-currency {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
    font-size: 15px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.01em;
}
@media screen and (max-width: 768px) {
    .base-currency {
        margin: 0;
    }
}
.base-currency__item {
    font-family: Inter, sans-serif;
    position: absolute;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding-left: 16px;
    gap: 4px;
    position: absolute;
    padding-left: 0;
    transform: translateX(1.6rem);
    transition: padding-left 0.1s ease-in-out, transform 0.5s ease-in-out, opacity 0.3s ease-in-out;
    order: 1;
    z-index: 0;
    opacity: 0;
}
.base-currency__item::before {
    position: absolute;
    left: 4px;
    top: 3px;
    content: "";
    width: 8px;
    height: 8px;
    transform: scale(0.2);
    transition: all 0.3s ease-in-out;
    opacity: 0;
    background-color: #000;
    border-radius: 50%;
}
.base-currency__item:hover {
    opacity: 0.7;
    padding-left: 16px;
}
.base-currency__item:hover::before {
    width: 8px;
    height: 8px;
    transform: scale(1);
    opacity: 1;
}
.base-currency__item--active {
    position: relative;
    background-color: #fff;
    z-index: 4;
    opacity: 1;
    transform: translateX(0);
    padding-left: 16px;
    order: 0;
}
.base-currency__item--active:hover {
    opacity: 1;
}
.base-currency__item--active::before {
    width: 8px;
    height: 8px;
    transform: scale(1);
    opacity: 1;
}
.base-currency__list {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}
.base-currency__list--active .base-currency__item {
    position: relative;
    z-index: 1;
    opacity: 1;
    left: auto;
    transform: translateX(0);
}

.header__logo {
    display: block;
    flex: none;
    margin-right: 20px;
}

.header__logo img {
    display: block;
    width: 272px;
    height: 57px;
    min-width: 272px;
    min-height: 57px;
    filter: none;
}

.footer__logo .logo {
    height: 44px;
    width: auto;
}

.mobile-menu__logo .logo img {
    height: 44px;
    width: auto;
}

.loader__logo img {
    display: block;
    height: auto;
    width: 210px;
}

@media screen and (max-width: 960px) {
    .header__logo img {
        width: 105px;
        height: 22px;
        min-width: 105px;
        min-height: 22px;
    }

    .header__cart-favorite {
        left: 0;
        top: 2px;
    }

    .header-cart__counter {
        position: relative;
    }
}

.page-title {
    padding-top: 2.4rem;
}

.page-title .page-header:not(.catalog-nav__link) {
    border-bottom: 1px solid;
    margin-bottom: 1.6rem;
    padding-bottom: 1.6rem;
}

.downloads__top {
    padding: 0;
}

.catalog__bottom,
.projects-list-bottom {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

button.pagination__more {
    scroll-margin-bottom: 120px;
}

.pagination__ellipsis {
    color: #b9b9b9;
    line-height: 1.07;
    padding: 8px;
    pointer-events: none;
    user-select: none;
}

button.pagination__more.is-loading,
button.pagination__more.disabled,
button.pagination__more:disabled {
    opacity: .5;
    pointer-events: none;
}

.product-slider[data-product-slider-collapse]:not(.is-expanded) .catalog__item.is-extra {
    display: none;
}

.product-slider .catalog__item--show-all {
    grid-column: 1 / -1;
    min-height: 0;
}

.product-slider__toggle {
    margin-top: 24px;
}

.product-mentions > .wrapper {
    overflow: visible;
}

.product-mentions .project-single__similar:first-child {
    margin-top: 0;
}

.client-page [data-open-login] {
    margin-top: 24px;
}

.client-page h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 1.4em 0 0.5em;
}

.search-modal {
    position: fixed;
    inset: 0;
    background-color: #fff;
    z-index: 1000;
    width: 100%;
    height: 100%;
    /* display: none; */
    /* По умолчанию скрыто */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.search-modal__input-wrapper .button-send {
    background: #000;
    color: #fff;
    padding: 10px;
    border: 1px solid #000;
    cursor: pointer;
}

.search-modal__input-wrapper-inner {
    position: relative;
    width: 100%;
}

.search-modal__content input {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.35);
    padding: 24px 8px;
    outline: none;
    font-weight: 700;
    color: #000;
    padding-right: 68px;
    font-size: 24px;
    letter-spacing: -.03em;
}

.search-modal__input-file-separator div {
    padding: 12px 4px;
    background-color: #fff;
    z-index: 1;
    font-size: 12px;
    text-transform: uppercase;
}

/* Стили для выделенного текста в результатах поиска */

/* Стили для превью */

/* Стили для индикатора загрузки */

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Модификация стилей drop-zone при наличии превью */

/* Скрываем основной контент при наличии превью */

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Стилизуем скроллбар для современных браузеров */

/* Стили для полных результатов поиска */

#basket-root{
    background-color: transparent;
}
#basket-root.opened{
    background-color: rgba(0,0,0,.7);
}

.header__search svg .hover {
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.header__search:hover svg .hover {
    opacity: 1;
}

.search-modal {
    position: fixed;
    inset: 0;
    background-color: #efefef;

    z-index: 1000;
    width: 100%;
    height: 100%;
    /* display: none; */
    /* По умолчанию скрыто */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.search-modal--active {
    display: block;
}

.search-modal__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.search-modal__close:hover {
    opacity: 0.7;
}

.search-modal__content {
    width: 100%;
    height: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px 20px;
    margin: 0 auto;
}

.search-modal__input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-modal__input-wrapper .button-send {
    background: #404042;
    color: #fff;
    padding: 10px;
    border: 1px solid #404042;
    cursor: pointer;
}

.search-modal__input-wrapper-inner {
    position: relative;
    width: 100%;

    background-color: #efefef;
}

.search-modal__quick-results {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 16px;
    top: 81px;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 10;
    padding: 8px;
    max-height: 80vh;
    overflow-y: auto;
}

.search-modal__quick-results-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.search-modal__quick-results-item:last-child {
    border-bottom: none;
}

.search-modal__quick-results-item:hover {
    background-color: #f9fafb;
}

.search-modal__quick-results-item img {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    object-fit: cover;
    background-color: #f9f9f9;
    font-size: 8px;
    font-weight: 400;
}

.search-modal__quick-results-item-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    line-height: 1;
}

.search-modal__quick-results-item-title span:first-child {
    font-size: 18px;
    font-weight: 700;
}

.search-modal__quick-results-item-title small {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.search-modal__content input {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.35);
    padding: 24px 8px;
    outline: none;
    font-weight: 700;
    color: #000;
    padding-right: 68px;
    font-size: 24px;
    letter-spacing: -.03em;

    background-color: #efefef;
}

.search-modal__content input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.search-modal__buttons {
    position: absolute;
    right: 0;
    display: flex;
    gap: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.search-modal__button {
    width: 24px;
    height: 24px;
    color: #000;
    transition: all 0.3s ease-in-out;
}

.search-modal__button:hover {
    opacity: 0.7;
}

.search-modal__input-file {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.search-modal__input-file-uploader {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-modal__input-file-drop-zone {
    position: relative;
    border: 1px dashed #ccc;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.search-modal__input-file-drop-zone.drag-over {
    border-color: #000;
    background-color: rgba(0, 0, 0, 0.05);
}

.search-modal__input-file-drop-zone svg {
    width: 48px;
    height: 48px;
}

.search-modal__input-file-drop-zone p {
    font-size: 14px;
    color: #000;
}

.search-modal__input-file-drop-zone:hover,
.search-modal__input-file-drop-zone.dragover {
    border-color: #666;
    background-color: #f9f9f9;
}

.search-modal__input-file-drop-zone svg {
    margin-bottom: 16px;
    color: #c7c7c7;
}

.search-modal__input-file-drop-zone:hover svg {
    color: #000;
}

.search-modal__input-file-drop-zone p {
    margin: 0 !important;
    color: #000;
}

.search-modal__input-file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.search-modal__input-file-separator {
    position: relative;
    color: #666;
    font-size: 14px;
    padding: 0 20px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-modal__input-file-separator div {
    padding: 12px 4px;
    background-color: #EFEFEF;
    z-index: 1;
    font-size: 12px;
    text-transform: uppercase;
}

.search-modal__input-file-separator:before {
    content: '';
    display: block;
    width: 1px;
    height: 100%;
    background-color: #c7c7c7;
    position: absolute;
    left: 50%;
    top: 0;
}

.search-modal__input-file-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 500px;
}

.search-modal__input-file-link input {
    width: 100%;
    padding: 12px;
    border: 1px solid #c7c7c7;
    font-size: 14px;
    font-weight: 400;
}

.search-modal__input-file-link-button {
    padding: 12px;
    border: 1px solid #000;
    background-color: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}

.search-modal__input-file-link-button:hover {
    background-color: #333;
    border-color: #333;
}

.search-modal__input-file-link input:focus {
    border-color: #666;
}

.search-modal__input-file--active {
    display: flex;
}

.search-modal__input-file-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.search-modal__input-file-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: transparent;
    padding: 8px;
    transition: all 0.3s ease-in-out;
    border: 1px solid #000;
    color: #000;
}

.search-modal__input-file-button:first-child {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.search-modal__input-file-button:first-child:hover {
    background-color: #000;
    color: #fff;
    border-color: #000;
    opacity: 0.7;
}

.search-modal__input-file-button:hover {
    color: #fff;
    border-color: #000;
    background-color: #000;
}

.search-modal__input-file-button svg {
    width: 64px;
    height: 64px;
}

.search-modal__input-file-preview {
    width: 100%;
    height: 100%;
}

.search-modal__input-file-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-results__item--news {
    display: block;
    padding: 15px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.search-results__item--news:hover {
    background-color: #f9f9f9;
}

.search-results__item-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.search-results__item-text {
    font-size: 16px;
    color: #000;
    margin-bottom: 5px;
}

.search-results__item-description {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Стили для выделенного текста в результатах поиска */
.search-results__item b {
    background-color: #fff3cd;
    font-weight: normal;
}

/* Стили для превью */
.file-preview-container {
    position: absolute;
    inset: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.preview-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.preview-image-wrapper img {
    max-width: calc(100% - 40px);
    max-height: calc(100% - 40px);
    object-fit: contain;
}

.remove-preview {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 4;
}

.remove-preview:hover {
    background: #333;
}

/* Стили для индикатора загрузки */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Модификация стилей drop-zone при наличии превью */
.search-modal__input-file-drop-zone.has-preview {
    position: relative;
}

.search-modal__input-file-drop-zone.has-preview>*:not(.file-preview-container) {
    opacity: 0;
}

/* Скрываем основной контент при наличии превью */
.search-modal__input-file-drop-zone.has-preview .search-modal__input-file-content {
    opacity: 0;
    pointer-events: none;
}

.search-modal__input-file-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 1;
}

.search-results__list.catalog__list {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.search-results__list.catalog__list h2 {
    font-weight: 500;
    font-size: 18px;
    grid-column: -1 / 1;
    margin-bottom: 0;
}

.search-modal__preview {
    position: relative;
}

.search-modal__preview img {
    max-height: 160px;
}

.search-modal__preview-clear {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.3s ease;
}

.search-modal__preview-clear:hover {
    background: rgba(0, 0, 0, 0.7);
}

.search-modal__preview-clear svg {
    width: 16px;
    height: 16px;
}

.search-modal__loader {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.search-modal__loader span {
    display: block;
    width: 10px;
    height: 10px;
    background: #000;
    animation: blink 0.6s infinite;
}

.search-modal__loader span:nth-child(2) {
    animation-delay: 0.2s;
}

.search-modal__loader span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .search-modal__close {
        top: 10px;
        right: 10px;
    }

    .search-modal__content input {
        padding-left: 8px;
        padding-top: 8px;
        padding-bottom: 8px;
        font-size: 16px;
    }

    .search-modal__content {
        gap: 8px;
        padding: 32px 10px;
    }

    .search-modal__input-file {
        flex-direction: column;
    }

    .search-modal__input-file-separator {
        height: 20px;
        width: 100%;
    }

    .search-modal__input-file-separator div {
        padding: 0 20px;
    }

    .search-modal__input-file-separator:before {
        height: 1px;
        width: 100%;
        left: 0;
        top: 50%;
    }
}

.search-modal__button-voice {
    opacity: 1;
}

.search-modal__button-voice:hover {
    opacity: 1;
}

.search-modal__button-voice.recording {
    opacity: 1;
}

.search-modal__button-voice.recording:hover {
    opacity: 0.5;
}

.search-results__section {
    margin-bottom: 30px;
    width: 100%;
}

.search-results__section:last-child {
    margin-bottom: 0;
}

.search-results__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.search-results__products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}

.search-results__news {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

a.search-results__item.search-results__item--news {
    padding: 8px 0;
    border: none;
    margin: 0;
}

@media (max-width: 768px) {
    .search-results__products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .catalog__item--sm {
        margin: 0;
    }

    .catalog-card__title {
        font-size: 14px;
        line-height: 1.3;
    }

    .catalog-card__article {
        font-size: 12px;
    }

    .catalog-card__price {
        font-size: 14px;
    }

    .search-modal__quick-results {
        max-height: calc(100vh - 75px);
        top: 45px;
    }
}

@media (max-width: 480px) {
    .search-results__products {
        gap: 8px;
    }
}

.search-modal__quick-results-title {
    padding: 8px 0;
    font-weight: 500;
    color: #667085;
    font-size: 14px;
}

.search-modal__quick-results-separator {
    margin: 8px 0;
}

.search-modal__quick-results-item--news {
    padding-left: 0;
    cursor: pointer;
}

.search-modal__quick-results-item--news:hover {
    background-color: #f9fafb;
}

.search-modal__quick-results-item--news .search-modal__quick-results-item-title {
    padding: 4px 0;
}

.search-modal__quick-results-item--news .search-modal__quick-results-item-title-text {
    font-weight: 400 !important;
}

.search-modal__quick-results-item--news .search-modal__quick-results-item-date {
    color: #667085;
    font-size: 12px;
    order: -1;
    margin-bottom: 4px;
}

/* Стилизуем скроллбар для современных браузеров */
.search-modal__quick-results::-webkit-scrollbar {
    width: 8px;
}

.search-modal__quick-results::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.search-modal__quick-results::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.search-modal__quick-results::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Стили для полных результатов поиска */
.search-results__full-section {
    margin-bottom: 30px;
    width: 100%;
}

.search-results__full-section:last-child {
    margin-bottom: 0;
}

.search-results__full-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.search-results__products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}

.search-results__full-news {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

a.search-results__full-item.search-results__full-item--news {
    padding: 8px 0;
    border: none;
    margin: 0;
}

@media (max-width: 768px) {
    .search-results__products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .search-results__products-grid {
        gap: 8px;
    }
}

/* Songle page */
.project-single__title {
    margin-top: 40px;
}

.project-single__title h1 {
    font-size: 64px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -4%;
    color: #000;
    border-bottom: 1px solid #000;
    padding-bottom: 8px;
    margin-bottom: 13px !important;
}

@media (max-width: 768px) {
    .project-single__title h1 {
        font-size: 22px;
        line-height: 1;
    }
}

.project-single__main-banner {
    position: relative;
    width: calc(100% + 4rem);
    height: 600px;
    margin: 0 -2rem;
}

.project-single__main-banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 5;
}

.project-single__main-banner .wrapper {
    height: 100%;
    position: relative;
    z-index: 10;
}

.project-single__main-banner-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-single__main-banner-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 70%;
    height: 100%;
    margin-left: 2rem;
}

.card-project__like {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    position: fixed;
    bottom: 80px;
    right: 80px;
    z-index: 1;
}
.card-project__like button {
    display: inline-flex;
    align-items: center;
    justify-items: center;
    text-align: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid #000;
    background-color: #fff;
    color: #000;
    transition: all 0.3s ease-in-out;
    min-width: 124px;
    min-height: 60px;
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.03em;
    border-radius: 30px;
}

.card-project__like button svg {
    width: 32px;
    height: 32px;
    margin: 0 auto;
}

.card-project__like button.small svg{
    width: 16px;
    height: 16px;
}
@media (max-width: 768px) {
    .card-project__like {
        gap: 15px;
        bottom: 10px;
        right: 10px;
    }

    .card-project__like button {

        padding: 12px 14px;
        min-width: 60px;
        font-size: 18px;
    }
    .card-project__like button svg {
        width: 22px;
        height: 22px;
    }
}

.card-project__like button:hover {
    padding: 12px 24px;
    border: 1px solid #6C69A1;
    background-color: #6C69A1;
    color: #fff;
}

.card-project__like button.active {
    padding: 12px 24px;
    border: 1px solid #6C69A1;
    background-color: #6C69A1;
    color: #fff;
}

.card-project__share-text {
    opacity: 0;
    transition: all 0.3s ease;
    visibility: hidden;
    font-size: 12px;
    line-height: 1;
    color: #fff;
    position: absolute;
    top: -70px;
    padding: 0;
    line-height: 1;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #6C69A1;
}

.card-project__share-text.active {
    opacity: 1;
    visibility: visible;
}

.project-single__main-banner-title {
    width: 100%;
    max-width: 60%;
    font-size: 64px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -3%;
    color: #fff;
    margin: auto 0 32px 0;
}

@media screen and (max-width: 1720px) and (min-width: 1100px) {
    .project-single__main-banner-title {
        max-width: 100%;
        font-size: 48px;
    }
}

@media screen and (max-width: 1100px) {
    .project-single__main-banner-title {
        max-width: 100%;
        font-size: 22px;
    }
}

.project-single__main-banner-tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 39px;
}

@media (max-width: 768px) {
    .project-single__main-banner-tags {
        margin-top: 8px;
        gap: 8px;
    }
}

.project-single__main-banner-tags a {
    border-radius: 24px;
    border: 1px solid #000;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 14px 20px;
    font-size: 15px;
    line-height: 1;
    color: #000;
    transition: all 0.3s ease;
}

.project-single__main-banner-tags a:hover {
    background-color: rgba(255, 255, 255, 1);
    color: #000;
    opacity: 1;
}

/* Single autor */
.project-single__autor-wrapper {
    margin-top: 84px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
}

.project-single__autor-image {
    grid-column: 1 / 6;
}

.project-single__autor-image.project-single__autor-image--mobile {
    display: none;
}

.project-single__autor-content {
    grid-column: 7 / 11;
}

.project-single__autor-wrapper--no-photo .project-single__autor-content {
    grid-column: 3 / 11;
}

.project-single__autor-descrioption {
    margin-top: 64px;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: -1%;
}

.project-single__autor-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.project-single__autor-info .info-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: -1%;
}

.project-single__autor-info .info__text {
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-single__autor-info .info__title {
    font-weight: 700;
}

@media (max-width: 768px) {
    .project-single__autor-wrapper {
        margin-top: 32px;
    }

    .project-single__autor-image {
        display: none;
    }

    .project-single__autor-image.project-single__autor-image--mobile {
        display: block;
        grid-column: 1 / 13;
        margin-top: 32px;
    }

    .project-single__autor-image.project-single__autor-image--mobile img {
        width: 100%;
    }

    .project-single__autor-content,
    .project-single__autor-wrapper--no-photo .project-single__autor-content {
        grid-column: 1 / 13;
    }

    .project-single__autor-descrioption {
        margin-top: 32px;
    }
}

.project-single__default-block {
    margin-top: 64px;
}

.project-single__default-title {
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
}

.project-single__default-block.project-single__default-block--title {
    margin: 110px 0;
}

@media (max-width: 768px) {
    .project-single__default-block.project-single__default-block--title {
        margin: 32px 0;
    }
}

/* Default blocks */
.project-single__default-block {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    margin: 64px 0;
}

@media (max-width: 768px) {
    .project-single__default-block {
        margin: 32px 0;
        gap: 18px 8px;
    }
}

.project-single__default-block.project-single__default-block--title>div {
    align-items: center;
    display: flex;
    flex-direction: column;
    grid-column: 3 / 11;
    justify-content: center;
    letter-spacing: -3%;
    text-align: center;
}

.project-single__default-block.project-single__default-block--title>div * {
    text-align: center;
}

@media (max-width: 768px) {
    .project-single__default-block.project-single__default-block--title>div {
        grid-column: 1 / 13;
    }
}

.project-single__default-block.project-single__default-block--title>div {
    font-weight: 700;
    font-size: 45px;
    line-height: 1;
}

@media (max-width: 768px) {
    .project-single__default-block.project-single__default-block--title>div {
        font-size: 20px;
        line-height: 1;
    }
}

.project-single__default-block.project-single__default-block--text>div {
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
}

.project-single__default-block--image {
    justify-content: space-between;
    align-items: start;
}

.project-single__default-block--image .block-image {
    position: relative;
    grid-column: 1 / 7;
    direction: ltr;
}

.project-single__default-block--image .block-image img {
    width: 100%;
}

.project-single__default-block--image .block-image__text {
    grid-column: 2 / 6;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    text-align: left;
    direction: ltr;
}

.project-single__default-block--image.project-single__default-block--text-only .block-image__text {
    grid-column: 1 / 13;
}

.project-single__default-block--image .block-image__text+.block-image {
    grid-column: 7 / 13;
}

.project-single__default-block--image .block-image+.block-image__text {
    grid-column: 8 / 12;
}

@media (max-width: 768px) {
    .project-single__default-block--image .block-image__text {
        grid-column: 1 / 13;
        order: 1;
    }

    .project-single__default-block--image .block-image+.block-image__text {
        grid-column: 1 / 13;
    }

    .project-single__default-block--image .block-image {
        grid-column: 1 / 13;
        order: 0;
    }

    .project-single__default-block--image .block-image__text+.block-image {
        grid-column: 1 / 13;
    }
}

.project-single__default-block--carousel {
    overflow: visible;
}

.project-single__default-block--image .block-image__nav {
    position: absolute;
    top: 50%;
    right: 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(-50%);
}

.project-single__default-block--image .block-image__nav .button-prev,
.project-single__default-block--image .block-image__nav .button-next {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    margin: 0;
    transform: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
}

.project-single__default-block--image .block-image__nav .button-prev:hover,
.project-single__default-block--image .block-image__nav .button-next:hover {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-color: #fff;
}

.project-single__default-block--image .block-image__nav .button-prev svg,
.project-single__default-block--image .block-image__nav .button-next svg {
    display: block;
    height: 14px;
    width: auto;
}

.project-single__gallery-block .swiper .swiper-slide,
.project-single__similar-list .swiper .swiper-slide {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
}

.project-single__gallery-block .swiper .swiper-slide {
    height: 600px;
}

@media (max-width: 768px) {
    .project-single__gallery-block .swiper .swiper-slide {
        height: initial;
    }

    .project-single__similar-list .card-project__title h3 {
        font-size: 18px;
        line-height: 1;
    }
}

.project-single__similar-list .button-next,
.project-single__similar-list .button-prev {
    transform: translateY(-100%) !important;
}

.project-single__gallery-block .swiper .swiper-slide img {
    height: 100%;
    width: auto;
}

.project-single__gallery-block .swiper .swiper-wrapper {
    padding-bottom: 20px;
}

.project-single__gallery-block .swiper .swiper-pagination {
    bottom: 28px;
}

.project-single__gallery-block .swiper .swiper-slide img {
    object-fit: contain;
}

@media (max-width: 768px) {
    .project-single__gallery-block .swiper .swiper-slide img {
        width: 100%;
        height: 100%;
    }
}

.project-single__gallery-block .swiper .swiper-pagination .swiper-pagination-bullet::after {
    display: none;
}

.project-single__gallery-block .swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #000;
}

.project-single__collapse-block-title,
.project-single__similar-title {
    border-bottom: 1px solid #000;
    padding-bottom: 4px;
}

.project-single__collapse-block-title h2,
.project-single__similar-title h2 {
    font-size: 36px;
    line-height: 40px;
    font-weight: 700;
    margin: 0 !important;
}

.project-single__collapse-block-filters {
    display: flex;
    width: 100%;
    margin-top: 12px;
    gap: 24px;
}

@media (max-width: 768px) {
    .project-single__collapse-block-filters {
        flex-direction: column;
        gap: 2px;
    }
}

.project-single__collapse-block-products {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .project-single__collapse-block-products {
        margin-top: 24px;
        gap: 24px;
    }
}

.project-single__collapse-block-filters .default-checkbox {
    padding: 0;
}

.project-single__collapse-block-filters .default-checkbox:hover {
    background-color: transparent;
}

.project-single__collapse-block-footer {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .project-single__collapse-block-footer {
        margin-top: 24px;
    }
}

.project-single__collapse-block-footer .button {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    line-height: 1;
}

/* Стили для скрытого состояния коллапс-блока */
.project-single__collapse-block-products-list--hidden {
    display: none;
}

.project-single__collapse-block {
    margin-top: 110px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .project-single__collapse-block {
        margin-top: 64px;
    }
}

.project-single__video-block {
    padding: 32px 0;
}

@media (max-width: 768px) {
    .project-single__video-block {
        padding: 16px 0;
    }
}

.project-single__video-block video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-single__text-block.card-project--text {
    margin: 32px 0;
    display: grid;
    align-items: flex-start;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
}

.project-single__text-block.card-project--text .card-project__content {
    grid-column: 2 / 13;
}

@media (max-width: 768px) {
    .project-single__text-block.card-project--text .card-project__content {
        margin: 32px 0;
        grid-column: 1 / 13;
        max-width: 220px;
        justify-content: flex-end;
        margin-left: auto;
    }

    .project-single__text-block.card-project--text .card-project__content h3 {
        font-size: 22px;
        line-height: 1;
    }
}

.project-single__consult {
    display: inline-block;
    margin-top: 64px;
    color: #161616;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-decoration: underline;
    text-underline-offset: 0.14em;
}

.project-single__consult:hover {
    color: #bc52bf;
}

.project-single--article .formatted-text .article-faq__answer,
.project-single--article .faq-list-item__answer {
    font-weight: 700;
}

@media (max-width: 768px) {
    .project-single__consult {
        margin-top: 32px;
        font-size: 16px;
    }
}

.project-single__similar {
    margin-top: 64px;
}

.project-single__similar-list {
    margin-top: 32px;
}

.project-single__similar-list .card-project__tag {
    padding: 16px 20px !important;
}

.project-single__similar-list img {
    width: 100%;
}

.project-single__similar-list .swiper .card-project__image {
    height: 590px;
}

@media (max-width: 768px) {
    .project-single__similar-list .swiper .card-project__image {
        height: auto;
    }
}

.project-single__similar-list .swiper .card-project__image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1 / 1;
}

@media (max-width: 768px) {
    .project-single__similar-list .swiper .card-project__image img {
        height: auto !important;
    }
}

.project-single__catalog__list {
    display: grid;
    grid-template-columns: repeat(6, calc(16% + 2px));
    grid-gap: 64px 8px;
}

@media (max-width: 768px) {
    .project-single__catalog__list {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 24px 8px;
    }
}

/* Стили для кликабельных изображений */
.gallery-image {
    cursor: zoom-in;
    transition: opacity 0.3s ease;
}

.card-image-fallback,
.mk-icon--noimage-content,
.mk-icon--noimage-maytoni,
.catalog-card__img-img--noimage {
    cursor: default;
}

.gallery-image:hover {
    opacity: 0.8;
}

/* Стили для модального окна */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.gallery-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.gallery-modal__content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.gallery-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 2;
    padding: 10px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.gallery-modal__close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.gallery-modal__swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-modal__swiper .swiper-wrapper {
    height: 100%;
}

.gallery-modal__swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.gallery-modal__swiper .swiper-slide img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.gallery-modal__navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2;
}

.gallery-modal__prev,
.gallery-modal__next {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.gallery-modal__prev:hover,
.gallery-modal__next:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.gallery-modal__prev svg {
    transform: rotate(180deg);
}

/* Адаптивность */
@media (max-width: 768px) {
    .gallery-modal__navigation {
        padding: 0 10px;
    }

    .gallery-modal__close {
        top: 10px;
        right: 10px;
    }
}

.hide {
    display: none !important;
}

.project-single__main-banner-tags a {
    border-color: #000 !important;
}

.panorama {
    display: flex;
    flex-direction: column;
    align-items: normal;
}

.project-single__main-tags {
    width: 100vw;
    display: none;
    align-items: center;
    gap: 4px;
    padding: 2px 8px 16px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.project-single__main-tags::-webkit-scrollbar {
    display: none;
}

.project-single__main-tags a {
    padding: 8px 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #000 !important;
    border-radius: 80rem;
    font-size: 15px;
    line-height: 1;
    color: #000;
    transition: all 0.3s ease;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: #fff;
    margin: 0;
}

@media screen and (max-width: 479px) {
    .project-single__main-tags {
        display: flex;
    }

    .project-single__main-banner {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .project-single__main-banner-title {
        margin: auto 0 8px 0;
        line-height: 26px;
    }

    .project-single__main-banner-tags {
        display: none;
    }
}

.counter__catalog-user {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-left: 16px;
}
.counter__catalog-user-icon {
    position: relative;
    opacity: 1 !important;
    inset: initial;
}

.counter__catalog-user-icon span {
    position: absolute;
    top: -8px;
    right: -10px;
    font-size: 10px;
    font-weight: 400;
    line-height: 16px;
    color: #fff;
    background-color: #000;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: invert(1);
}

@media screen and (max-width: 767px) {
    .header-cont .counter__catalog-user {
        gap: 16px;
        margin-left: auto;
    }
}

.counter__catalog-user a{
    border: none;
}

.main .counter__catalog-user
{
    display: none;
}
