

/* Start:/bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?173985423551*/
font.errortext{color:red}font.notetext{color:green}
/* End */


/* Start:/local/templates/grifon/components/bitrix/catalog.section/elem_bottom_sections/style.css?17586275002449*/
.catalog-section{
    .product-item-small-card{
        width: 18% !important;
        display: block;
    }
    .product__card {
        border: 1px solid #eee;
        border-radius: 8px;
        background-color: white;
        box-shadow: lightgray 0px 0px 13px 0px;
        overflow: hidden;
        transition: all 0.3s ease;
        /* height: -webkit-fill-available !important; */
        height: 100%;
        display: flex;
        margin-bottom: 20px;
        flex-direction: column;

    }
    @media screen and (max-width: 575.98px) {
        .product-item-small-card{
            flex-basis: 47%;
            min-width: 50%;
        }
        /*.product-item-small-card:nth-child(n+3) {
            display: none;
        }*/
    }


    .product__card:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .product-card__image {
        position: relative;
        padding-top: 75%;
        overflow: hidden;
    }

    .product-card__image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .product__card:hover .product-card__image img {
        transform: scale(1.05);
    }
    .product-card__body {
        padding: 15px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .product-card__title {
        font-size: 16px;
        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;
        -webkit-line-clamp: 2; /* number of lines to show */
        line-clamp: 2;
        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;
    }

    .btn-buy {
        background-color: #ff5722;
        border-color: #ff5722;
    }

    .btn-buy:hover {
        background-color: #e64a19;
        border-color: #e64a19;
    }
    @media screen and (max-width:575.98px) {
        overflow: auto;
    }
}

/* End */


/* Start:/local/templates/grifon/components/bitrix/catalog.item/In_bottom_of_detail/style.css?17586274763849*/
.product__card {
    border: 1px solid #eee;
    margin: 10px;
    border-radius: 8px;
    background-color: white;
    box-shadow: lightgray 0px 0px 13px 0px;
    overflow: hidden;
    transition: all 0.3s ease;
    /* height: -webkit-fill-available !important; */
    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; */
        height: 100%;
    }

    .product-card__title {
        font-size: 24px;
        margin-bottom: 10px;
        font-weight: 600;
        min-height: 55px;
    }

    .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;
            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: 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 */
/* /bitrix/components/bitrix/system.show_message/templates/.default/style.min.css?173985423551 */
/* /local/templates/grifon/components/bitrix/catalog.section/elem_bottom_sections/style.css?17586275002449 */
/* /local/templates/grifon/components/bitrix/catalog.item/In_bottom_of_detail/style.css?17586274763849 */
