#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: 64px;
}

.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: 100%;
    height: 600px;
}

.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%;
}

.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-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 {
        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 {
    grid-column: 4 / 12;
    letter-spacing: -3%;
}

@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: 38px;
}

@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 .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--image .block-image .swiper .swiper-wrapper {
    padding-bottom: 14px;
}

.project-single__default-block--image .block-image .swiper .swiper-pagination {
    bottom: 32px;
}

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

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

.project-single__default-block--image .block-image .swiper .button-prev,
.project-single__default-block--image .block-image .swiper .button-next {
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    width: 22px;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    height: 22px;
    transition: all 0.3s ease;
}

.project-single__default-block--image .block-image .swiper .button-prev:hover,
.project-single__default-block--image .block-image .swiper .button-next:hover {
    background-color: rgba(255, 255, 255, 1);
}

.project-single__default-block--image .block-image .swiper .button-prev svg,
.project-single__default-block--image .block-image .swiper .button-next svg {
    width: 12px;
    height: 12px;
}

.project-single__default-block--image .block-image .swiper .button-prev {
    left: 8px;
}

.project-single__default-block--image .block-image .swiper .button-next {
    right: 8px;
}

.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__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;
}

.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: 50rem;
    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;
}
