

/* Start:/local/templates/main-shop/components/bitrix/catalog/catalog-grid/style.css?1761120153937*/
.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: var(--ot-normal-text-size);
	font-weight: bold;
	text-align: left;
	margin: 30px 0;
	padding: 5px 0;
	border-bottom: 2px solid #d9dee6;
	border-bottom-color: var(--primary);
	color: var(--ot-text);
}

/* End */


/* Start:/local/templates/main-shop/components/bitrix/catalog.section.list/main-page-section-list/style.css?17611201532051*/
.catalog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.catalog-grid__item {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: var(--ot-white);
}

/* overlay эффект на всю карточку */
.catalog-grid__item:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

.catalog-grid__item:hover::after {
    opacity: 1
}

.catalog-section__img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 22px
}

.catalog-section__title {
    position: absolute;
    bottom: 18px;
    left: 50%;
    background: var(--ot-white);
    color: var(--ot-text);
    font-weight: 700;
    font-size: var(--normal-text-size);
    padding: 10px 20px;
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
    bottom: 15%;
    transform: translate(-50%, 50%);
    text-align: center;
    height: 72px;
    display: flex;
    align-items: center;
    z-index: 2;
}

/* ≥576px: 2 колонки */
@media (min-width:576px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px
    }

    .catalog-section__img {
        height: 300px
    }
}

/* ≥768px: 3 колонки */
@media (min-width:768px) {
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px
    }

    .catalog-section__img {
        height: 320px
    }
}

/* ≥992px: 5 колонок */
@media (min-width:992px) {
    .catalog-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 24px
    }

    .catalog-section__img {
        height: 340px
    }
}

/* ≥1200px: чуть выше карточки */
@media (min-width:1200px) {
    .catalog-section__img {
        height: 360px
    }
}
/* End */
/* /local/templates/main-shop/components/bitrix/catalog/catalog-grid/style.css?1761120153937 */
/* /local/templates/main-shop/components/bitrix/catalog.section.list/main-page-section-list/style.css?17611201532051 */
