

/* Start:/local/templates/grifon/components/bitrix/catalog.section/catalog_with_sections/style.css?17522259315844*/
.catalog {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1920 951' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-27.9098 -657H1920V283.323V392L1160.11 442.652C1160.11 442.652 791.371 451.518 571 525C454.655 563.795 284 652.5 284 652.5L-34 950.5L-104 776L-27.9098 -657Z' fill='%23F8F4F2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: top;
    background-size: 100% auto;
    padding-top: 10rem;

    a {

        padding-right: 5vw;
        align-content: center;
        text-decoration: none;
        color: black;

        h1 {
            font-size: clamp(32px, 16px + 2vw, 64px);
            font-weight: 600;
            min-width: max-content;
        }

        @media (max-width: 575.98px) {
            h1 {
                font-size: 22px;
                font-weight: 600;

                &:hover {
                    transform: scale(0.99);
                }
            }
        }
    }

    h2 {
        font-size: 48px;
        font-weight: 500;
        height: fit-content;
        margin: 20px 0;
        align-content: center;

    }

    .catalog-header {
        border-radius: 20px;
        width: calc(100% - 20px);
        height: 140px;
        box-shadow: 0px 0px 20px 3px rgba(0, 0, 0, 0.25);
        display: inline-flex;
        background-color: white;
        padding-left: 4rem;

        .d-flex.flex-column.col-10 {
           
            background-color: white;
            z-index: 1;
            border-bottom-right-radius: 20px;
            border-top-right-radius: 20px;
            width: 91.66667%;
        }

        a {
            height: 100%;
            background-color: rgba(255, 85, 0, 1);
            border: 1px solid transparent;
            border-radius: 20px;
            align-content: center;
            margin-left: -30px;
            /* width: calc(8.333333% + 30px); */
            display: inline-block; /* или block, в зависимости от ваших нужд */
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='55' class='bi bi-telephone-fill' fill='white' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z'/></svg>");
            background-repeat: no-repeat;
            background-position: 70% center;
            background-size: auto; /* Масштабирует изображение, чтобы оно полностью поместилось */
           
            
            /* Если вам нужен отступ для текста рядом с иконкой, используйте padding */
        }

        /* Стили для состояния :hover или :focus, если нужны */
        a:hover {
            /* opacity: 0.8; Например, небольшое изменение прозрачности при наведении */
background-color: rgb(245 131 74);
        }
        @media screen and (max-width: 1199.98px) {
            padding-left: 1.4rem;
            a{
                margin-left: -30px;
                width: calc(8.333333% + 70px);
            }
        }
        @media screen and (max-width: 991.98px) {
            display: none;
        }
    }

    @media (max-width: 575.98px) {
        padding-top: 40px;
    }
}

.catalog-block-header {
    font-size: 48px;
    font-weight: 500;
    text-align: left;
    width: 100%;
    margin: 5px 0;
    padding: 5px 0;
    color: #000;
}

.catalog-section {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;

}

.catalog-categories {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
    position: sticky;
    top: calc(100px + 2vh);
    .category {
        width: 100%;

        background-color: white;
        box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.1);
        border-radius: 15px;
        margin-bottom: 12px;
        a {
            display: flex;
            justify-content: center;
            text-align: center;
            width: 100%;
            padding: 12px;
            color: black;
            font-size: 20px;
            font-weight: 500;
            &:has(+ .collapse.show) {
                transition: 0.1ms ease all;
                color: white;
                background-color: rgba(39, 86, 174, 1);
                border: 1px solid rgba(39, 86, 174, 1);
                border-radius: 15px;
            }
        }
        &.active{
            background-color: rgba(39, 86, 174, 1);
            border: 1px rgba(39, 86, 174, 1) solid;
            a{
                color: white;
            }
        }
    }

    .subcategories {
        list-style-type: none;
        padding-left: 0;

        li a {
            border-radius: 0;

            &.active {
                color: white;
                background-color: rgb(79, 116, 184);
                border: 1px solid rgb(79, 116, 184);
                border-radius: 20px;
            }
        }

        :last-child {
            a {
                border-bottom-right-radius: 15px !important;
                border-bottom-left-radius: 15px !important;
            }
        }
        @media screen and (max-width: 575.98px) {

        }
    }
}

.offcanvas.offcanvas-top {
    height: fit-content;
    background-color: rgba(248, 244, 242, 1);
}

.offcanvas-header {
    padding: 13px 1rem 0 0;
    background-color: transparent;
}

.offcanvas-body {
    padding: 4px;
}

@media screen and (max-width: 575.98px) {

}
/* End */


/* Start:/local/templates/grifon/components/bitrix/catalog.item/bootstrap_v4/style.css?17446094152965*/
.product__card {
    border: 1px solid #eee;
    margin: 0 10px 10px 10px;
    border-radius: 8px;
    background-color: white;
    box-shadow: lightgray 0px 0px 13px 0px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;

    .product__card:hover {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .image {
        position: relative;
        padding-top: 75%;
        overflow: hidden;

        img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        img:hover {
            transform: scale(1.05);
        }
    }

    .product-card__body {
        padding: 15px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        height: -webkit-fill-available !important;
    }

    .product-card__title {
        font-size: 24px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .product-card__title a {
        color: inherit;
        text-decoration: none;
    }

    .product-card__title a:hover {
        color: #0066cc;
    }

    .product-card__preview {
        font-size: 14px;
        color: #666;
        margin-bottom: 15px;
        display: -webkit-inline-box;
        -webkit-line-clamp: 2; /* number of lines to show */
        line-clamp: 2;
        text-overflow: ellipsis;
        word-break: break-word;
        flex-grow: 1;
    }

    .product-card__buttons {
        display: flex;
        gap: 10px;
    }

    .product-card__buttons .btn {
        flex: 1;
        white-space: nowrap;
        padding: 8px 10px;
        font-size: 14px;
    }

    @media screen and (max-width: 575.98px) {
        margin: 3px;

		.product__card:hover {
			box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
		}

		.image {
			position: relative;
			padding-top: 75%;
			overflow: hidden;

			img {
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				object-fit: contain;
				transition: transform 0.3s ease;
			}

			img:hover {
				transform: scale(1.05);
			}
		}

		.product-card__body {
			padding: 12px;
		}

		.product-card__title {
			font-size: 13px;
			margin-bottom: 10px;
			font-weight: 600;
		}

		.product-card__title a {
			color: inherit;
			text-decoration: none;
		}

		.product-card__title a:hover {
			color: #0066cc;
		}

		.product-card__preview {
			font-size: 10px;
			color: #666;
			margin-bottom: 15px;
			flex-grow: 1;
		}

		.product-card__buttons {
			display: flex;
            gap: normal;
			justify-content: space-between;
		}

		.product-card__buttons .btn {
			white-space: nowrap;
			padding: 4px !important;
            margin: 2px;
            width: fit-content !important;
			font-size: 10px;
		}
        .btn + .btn{
            margin-right: 0;
            margin-left: 5px;
        }

    }
}
/* End */
/* /local/templates/grifon/components/bitrix/catalog.section/catalog_with_sections/style.css?17522259315844 */
/* /local/templates/grifon/components/bitrix/catalog.item/bootstrap_v4/style.css?17446094152965 */
