.header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: fixedHeader 0.5s ease;
    z-index: 500;
    background: #fff;
    filter: drop-shadow(0px 4px 30px rgba(29, 29, 31, 0.16));
}

.header.fixed .header-bottom {
    display: none;
}

.header .container {
    max-width: 1110px !important;
}

.header-middle-work-item span {
    white-space: nowrap;
}

.products-carousel-wrapper .products-list {
    display: flex;
    gap: 0;
    margin: 0 -5px;
}

.product-item-scu-item-color-container {
    width: auto !important;
}

@media (max-width: 768px) {
    .header-top-links {
        flex-direction: column;
        gap: 10px;
    }

    .header-top-links__phone {
        font-size: 16px;
    }

    .header-search {
        max-width: 100%;
    }

    .product-detail-info {
        flex-direction: column;
    }

    .product-detail-images {
        margin: 0px auto;
        width: 100%;
        border-right: none;
    }

    .product-item-amount-field-container {
        margin: 0px 0px 15px 0px;
    }

    .product-item-detail-buy-button {
        margin: 0px 0px 10px 0px;
    }

    #article-property {
        max-width: 100%;
    }
}

@keyframes fixedHeader {
    from {
        top: -100%;
    }

    to {
        top: 0;
    }
}

.grid {}

.grid .bx_content_section {
    margin-bottom: 15px;
}

.grid .bx_sidebar {
    margin-bottom: 15px;
}

/* grid2x1 */
.grid2x1 {}

.grid2x1 .bx_content_section {
    float: left;
    width: 66%;
    margin-bottom: 15px;
}

.grid2x1 .bx_sidebar {
    float: right;
    width: 33%;
    margin-bottom: 15px;
    padding-left: 5%;
    box-sizing: border-box;
}

@media (max-width: 960px) {
    .grid2x1 .bx_sidebar {
        padding-left: 4%;
    }
}

@media (max-width: 640px) {

    .grid2x1 .bx_content_section,
    .grid2x1 .bx_sidebar {
        width: 100%;
        float: none;
    }

    .grid2x1 .bx_sidebar {
        padding-left: 3%;
    }
}

@media (max-width: 479px) {
    .grid2x1 .bx_sidebar {
        padding-left: 1%;
    }
}

.catalog-block-header {
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    margin: 5px 0;
    padding: 5px 0;
    border-bottom: 2px solid #d9dee6;
    border-bottom-color: var(--primary);
    color: #000;
}

.tags.border-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
}

.tag-item.border-list__item {
    display: inline-block;
    padding: 7px 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tag-item.border-list__item:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.tag-item.border-list__item.selected {
    background-color: #CC9453;
    color: white;
    border-color: #CC9453;
}

.tag-item.border-list__item.list-name {
    background-color: #f8f9fa;
    font-weight: bold;
    cursor: default;
}

.list-expand,
.list-collapse {
    cursor: pointer;
    color: #CC9453;
    padding: 8px 16px;
    border: 1px dashed #CC9453;
    border-radius: 20px;
    font-size: 14px;
}

.list-expand:hover,
.list-collapse:hover {
    background-color: #CC9453;
    color: white;
}

.icon-cancel-after:after {
    content: '×';
    margin-left: 9px;
    font-size: 15px;
    font-weight: bold;
}

.icon-cancel-after:hover:after {
    color: black;
}

.breadcrumbs-section {
    padding: 15px 0;
    background: #f8f9fa;
}

.custom-breadcrumb {
    background: none;
    margin-bottom: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
}

.custom-breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.custom-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: #6c757d;
    margin: 0 10px;
    font-size: 18px;
}

.custom-breadcrumb .breadcrumb-item a {
    color: #CC9453;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: #b58245;
    text-decoration: underline;
}

.custom-breadcrumb .breadcrumb-item.active {
    color: #6c757d;
    white-space: nowrap;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .custom-breadcrumb {
        font-size: 14px;
    }

    .custom-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
        margin: 0 8px;
    }

    .marquiz__button_fixed {
        width: 50px !important;
        height: 50px !important;
    }
}

@media (max-width: 576px) {
    .custom-breadcrumb {
        font-size: 12px;
    }

    .custom-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
        margin: 0 5px;
        font-size: 16px;
    }

    .breadcrumbs-section {
        padding: 10px 0;
    }
}

.breadcrumbs-section {
    margin-bottom: 30px;
}