

/* Start:/local/templates/website/css/catalog-v2.css?179196939515577*/
/* --- Общие --- */
.catalog-v2 {
    background-color: #f0f4f8;
    padding: 100px 0 40px;
    font-family: Roboto, sans-serif;
}

.catalog-v2__wrapper {
    width: 100%;
    /*max-width: 1220px;*/
    margin: 0 auto;
    padding: 0 5%;
}.catalog-v2__filter {
     color: #004597;
}


@media (min-width: 768px) {
    .catalog-v2__wrapper {
        padding-left: 30px;
        padding-right: 30px;
    }
	.catalog-v2 {
		padding: 120px 0 40px;
		margin-top: -40px;
	}
}

@media (min-width: 1200px) {
	.catalog-v2 {
		padding: 160px 0 40px;
	}
}

@media (min-width: 1920px) {
    .catalog-v2__wrapper {
        max-width: 1640px;
    }
}

.catalog-v2__title {
    font-family: Oswald, sans-serif;
    font-size: 32px;
    font-weight: 400;
    margin: 0 0 20px;
    color: #004597;
}

.catalog-v2__filter-title {
    font-family: Oswald, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #004597;
    margin: 0 0 15px;
    padding-bottom: 10px;
}

@media (min-width: 1440px) {
    .catalog-v2__title { font-size: 34px; margin-bottom: 30px; }
}

/* --- Лейаут: сайдбар + карточки --- */
@media (min-width: 1200px) {
    .catalog-v2__wrapper {
        display: grid;
        grid-template-columns: 320px 1fr;
        grid-template-areas:
            "filter title"
            "filter cards";
        grid-template-rows: min-content 1fr;
        gap: 0 30px;
        align-items: start;
        align-content: start;
    }

    .catalog-v2__filter    { grid-area: filter; align-self: start; }
    .catalog-v2__title     { grid-area: title; align-self: start; margin: 0 0 20px; }
    .catalog-v2__container { grid-area: cards; align-self: start; }
}

@media (max-width: 1199px) {
    .catalog-v2__wrapper {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "title"
            "filter"
            "cards";
        gap: 15px 0;
        align-content: start; 
    }

    .catalog-v2__title {
        grid-area: title;
        align-self: start;
        margin: 0;
        font-size: 24px;
    }

    .catalog-v2__filter {
        grid-area: filter;
        align-self: start;
        width: 100%;
    }

    .catalog-v2__container {
        grid-area: cards;
        align-self: start;
        width: 100%;
    }
}

/* --- Мобильная кнопка "Фильтр" --- */
.catalog-v2__mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #004597;          
    cursor: pointer;
    margin-bottom: 15px;
}

.catalog-v2__mobile-toggle-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-v2__mobile-toggle-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke: #004597;          
}

.catalog-v2__mobile-toggle-arrow {
    transition: transform 0.3s;
    stroke: #004597;            
}

.catalog-v2__mobile-toggle.active .catalog-v2__mobile-toggle-arrow {
    transform: rotate(180deg);
}

@media (min-width: 1200px) {
    .catalog-v2__mobile-toggle {
        display: none;
    }
}

@media (min-width: 1200px) {
    .catalog-v2__mobile-toggle { display: none; }
}

/* --- Сайдбар фильтра --- */
.catalog-v2__filter-inner {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    background: #fff;
}

@media (max-width: 1199px) {
    .catalog-v2__filter-inner {
        display: none;
    }
    .catalog-v2__filter-inner.active {
        display: block;
    }
	.catalog-v2__filter-title {
		display: none;
	}
}

.catalog-v2__group {
    margin-bottom: 20px;
}

.catalog-v2__label {
    display: block;
    font-size: 14px;
    color: #004597;
    font-weight: 500;
    margin-bottom: 8px;
}

.catalog-v2__checkboxes {
    display: flex;
    flex-direction: column;
    /*gap: 10px;*/
    margin-bottom: 20px;
}

.catalog-v2__checkboxes label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #004597;
    font-weight: 500;
    cursor: pointer;
    padding: 15px 0;
    border-bottom: 1px solid #f4f4f4;
}

.catalog-v2__checkboxes input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #004597;
    flex-shrink: 0;
}

/* Разделители */
.catalog-v2__checkboxes label:nth-child(1), .catalog-v2__checkboxes label:nth-child(3), .catalog-v2__checkboxes label:nth-child(5) {
    border-bottom: 1px solid #e0e0e0;

}

@media (max-width: 1199px) {
    .catalog-v2__checkboxes label,
    .catalog-v2__checkboxes label:nth-child(1),
    .catalog-v2__checkboxes label:nth-child(3),
    .catalog-v2__checkboxes label:nth-child(5)  {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    .catalog-v2__checkboxes {
        display: grid;
        grid-template-rows: repeat(4, auto);   
        grid-auto-flow: column;                
        gap: 10px 16px;
        margin-bottom: 20px;
    }
    .catalog-v2__checkboxes label {
        display: flex;
        align-items: center;
        padding: 0;
        border-bottom: none;
        margin-bottom: 0;
    }
}

.catalog-v2__reset {
    font-size: 14px;
    color: #004597;
    text-decoration: underline;
    cursor: pointer;
}

/* --- Поиск --- */
.catalog-v2__search {
    position: relative;
    margin-bottom: 15px;
}

.catalog-v2__search-result {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.catalog-v2__search-result.active {
    display: block;
}

.catalog-v2__search-result li {
    padding: 10px 15px;
    cursor: pointer;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.catalog-v2__search-result li:last-child {
    border-bottom: none;
}

.catalog-v2__search-result li:hover {
    background-color: #f0f4f8;
}

.catalog-v2__search-result li a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.catalog-v2__search-result mark {
    background-color: #fff3cd;
    color: inherit;
    padding: 0 1px;
}

.catalog-v2__search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #777;
    box-sizing: border-box;
}


.catalog-v2__search-button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

/* --- Буквы --- */
.catalog-v2__letters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 3px;
    padding-bottom: 20px;
    margin: 20px 0 30px;
    border-bottom: 1px solid #e0e0e0;
}

.catalog-v2__letters a {
    font-size: 14px;
    color: #004597;
    text-decoration: none;
    padding: 2px 4px;
    cursor: pointer;
	font-weight: 500;
}

.catalog-v2__letters a.active,
.catalog-v2__letters a:hover {
    opacity: 0.8;
    text-decoration: underline;
}


/* --- Сетка карточек --- */
.catalog-v2__grid {
    display: grid;
    gap: 12px;
}

@media (max-width: 767px) {
    .catalog-v2__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .catalog-v2__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
    .catalog-v2__grid { 
       grid-template-columns: repeat(4, 1fr); 
       align-items: stretch;  
       align-content: start;   
    }
}

/* --- Карточка --- */
.catalog-v2 .catalog_card {
    display: flex;
    height: 100%; 
    text-decoration: none;
    color: inherit;
    position: relative;
}

.catalog-v2 .catalog_card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.catalog-v2 .catalog_card__wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%; 
    padding: 20px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #fff;
    transition: box-shadow 0.3s, border-color 0.3s;
    min-height: 305px;
    box-sizing: border-box;
}

.catalog-v2 .catalog_card:hover .catalog_card__wrapper {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 69, 151, 0.3);
}

.catalog-v2 .catalog_card__tag-new {
    position: absolute;
    top: 10px;
    left: 10px;
    border: 1px solid #f91300;
    color: #f91300;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    background: #fff;
}

.catalog-v2 .catalog_card__img {
    display: block;
    height: 140px;
    margin-bottom: 15px;
    text-align: center;
}

.catalog-v2 .catalog_card__img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.catalog-v2 .catalog_card__title {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #004597;
    margin-bottom: 10px;
    /*min-height: 40px;*/
}

.catalog-v2 .catalog_card__forward {
    display: block;
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
}

.catalog-v2 .catalog_card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto; 
    padding-top: 10px;
}

.catalog-v2 .catalog_card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}

.catalog-v2 .catalog_card__tags__tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    border: 1px solid;
    background: #fff;
}

.catalog-v2 .catalog_card__tags__tag.blue  { border-color: #004597; color: #004597; }
.catalog-v2 .catalog_card__tags__tag.green { border-color: #28a745; color: #28a745; }
.catalog-v2 .catalog_card__tags__tag.red   { border-color: #f91300; color: #f91300; }

.catalog-v2 .catalog_card__arrow {
    flex-shrink: 0;
    align-self: flex-end;
    opacity: 0.5;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
}

.catalog-v2 .catalog_card:hover .catalog_card__arrow {
    opacity: 1;
}

/* --- Пагинация --- */
.catalog-v2 .pagination-arrows {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.catalog-v2 .pagination-arrow {
    width: auto;
    height: auto;
    border: none;
    background: transparent;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-v2 .pagination-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.catalog-v2 .pagination-arrow svg {
    width: 32px;
    height: 32px;
    stroke: #004597;
    transition: transform 0.15s;
}

.catalog-v2 .pagination-arrow.prev svg {
    /*transform: rotate(180deg);*/
}
.catalog-v2 .pagination-arrow.next svg {
    transform: none;
}

.catalog-v2 .pagination-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-v2 .pagination-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #c9d4e0; 
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.catalog-v2 .pagination-dot:hover {
    background-color: #7a93ad;
    transform: scale(1.15);
}

.catalog-v2 .pagination-dot.active {
    background-color: #004597; 
    transform: scale(1.3);  
    cursor: default;
}

.catalog-v2 .pagination-arrow:not(:disabled):hover svg {
    transform: scale(1.1);
}

.catalog-v2 .pagination-dot.active {
    background-color: #004597;
}

@media (max-width: 767px) {
   @media (max-width: 767px) {

    .catalog-v2__grid {
        grid-template-columns: 1fr;
    }


    .catalog-v2 .catalog_card__wrapper {
        position: relative;  
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 6px 50px 6px 12px;;
        min-height: auto;
    }


    .catalog-v2 .catalog_card__img {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .catalog-v2 .catalog_card__img img {
        max-height: 80px;
    }

    .catalog-v2 .catalog_card__body {
        flex: 1;
        min-width: 0;

    }
    .catalog-v2 .catalog_card__title {
        font-size: 14px;
        min-height: auto;
        margin-bottom: 2px;
    }

    .catalog-v2 .catalog_card__forward {
        font-size: 12px;
        margin-bottom: 0;
    }


    .catalog-v2 .catalog_card__footer {
        margin-top: 0;
        padding-top: 0;
        display: block; 
    }

    /* Теги — скрываем */
    .catalog-v2 .catalog_card__tags {
        display: none;
    }

    /* Стрелка — по центру справа */
    .catalog-v2 .catalog_card__arrow {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.5;
    }

    .catalog-v2 .catalog_card__arrow svg {
        width: 22px;
        height: 22px;
    }

    /* Новинка */
    .catalog-v2 .catalog_card__tag-new {
        top: 6px;
        left: 6px;
        font-size: 9px;
        padding: 1px 6px;
    }
}
}

.catalog-v2__reset {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #004597;
    cursor: pointer;
    text-decoration: none;
}

.catalog-v2__reset:hover {
    text-decoration: underline;
}

.catalog-v2__reset-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.catalog-v2__apply {
    display: none; 
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #004597;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.catalog-v2__apply:hover {
    background-color: #003366;
}

.catalog-v2__apply-icon {
    stroke: #fff;
    flex-shrink: 0;
}

@media (max-width: 1199px) {
    .catalog-v2__apply {
        display: inline-flex;
    }
}

.catalog-v2__select {
    width: 100%;
    padding: 10px 40px 10px 15px;  
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #777;
    background-color: #fff;
    appearance: none;                
    -webkit-appearance: none;
    -moz-appearance: none;
    /* свой шеврон через SVG в background */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23777777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;  
    background-size: 14px;
    cursor: pointer;
}

.catalog-v2__select::-ms-expand {
    display: none;                   
}

.catalog-v2__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}




/* End */
/* /local/templates/website/css/catalog-v2.css?179196939515577 */
