

/* Start:/local/templates/eshop_bootstrap_v4/components/bitrix/catalog/bootstrap_v5/style.css?1770124989853*/
.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;
}

/* End */


/* Start:/local/templates/eshop_bootstrap_v4/components/bitrix/catalog.section.list/design_1/style.css?17701249899605*/
/* Кастомный шаблон списка секций каталога */

.catalog-sections-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    /* padding: 20px; */
}

/* Заголовок */
.catalog-sections-header {
    margin-bottom: 40px;
    text-align: center;
}

.catalog-sections-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--main-color-1);
    margin: 0;
    position: relative;
    display: inline-block;
}

.catalog-sections-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--main-color-1) 0%, var(--main-color-2) 100%);
    border-radius: 2px;
}

/* Сетка секций */
.catalog-sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Адаптивная сетка для разных размеров экрана */
@media (min-width: 1400px) {
    .catalog-sections-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 35px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .catalog-sections-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

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

@media (min-width: 768px) and (max-width: 991px) {
    .catalog-sections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .catalog-sections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Карточка секции */
.catalog-section-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    /* min-height: 420px; */
    width: 100%;
}

.catalog-section-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: var(--main-color-1);
}

.section-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Изображение секции */
.section-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-image-link {
	display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.section-image {
	width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* Стили для заглушек */
.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--main-color-1);
    gap: 12px;
}

.placeholder-content svg {
    opacity: 0.6;
    transition: all 0.3s ease;
}

.placeholder-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--main-color-1);
    opacity: 0.8;
    transition: all 0.3s ease;
    max-width: 200px;
    word-wrap: break-word;
    line-height: 1.3;
}

.section-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 46, 111, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-image-link:hover .section-image-overlay {
    opacity: 1;
}

.section-image-link:hover .section-image {
    transform: scale(1.1);
}

/* Hover эффекты для заглушек */
.placeholder-image:hover .placeholder-content svg {
    opacity: 1;
    transform: scale(1.1);
}

.placeholder-image:hover .placeholder-text {
    opacity: 1;
    color: var(--main-color-2);
}

.section-overlay-content {
    color: #ffffff;
    text-align: center;
}

.section-overlay-content svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Контент карточки */
.section-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.section-card-title {
    margin: 0 0 18px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.section-title-link {
    color: var(--main-color-1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-title-link:hover {
    color: var(--main-color-2);
    text-decoration: none;
}

/* Счетчик элементов */
.section-card-counter {
	margin-bottom: 15px;
}

.counter-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--main-color-1) 0%, var(--main-color-2) 100%);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Описание */
.section-card-description {
    margin-bottom: 20px;
    flex: 1;
}

.section-card-description p {
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
    margin: 0;
}

/* Кнопка */
.section-card-footer {
    margin-top: auto;
}

.section-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--main-color-1);
    border: 2px solid var(--main-color-1);
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.section-card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--main-color-1) 0%, var(--main-color-2) 100%);
    transition: all 0.3s ease;
    z-index: -1;
}

.section-card-btn:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.section-card-btn:hover::before {
    left: 0;
}

.section-card-btn svg {
    transition: all 0.3s ease;
}

.section-card-btn:hover svg {
    transform: translateX(3px);
}

/* Пустое состояние */
.catalog-sections-empty {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.empty-icon {
    margin-bottom: 25px;
    animation: pulse 2s infinite;
}

.empty-icon svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.catalog-sections-empty h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--main-color-1);
    margin-bottom: 15px;
}

.catalog-sections-empty p {
    font-size: 16px;
    color: #6c757d;
	margin: 0;
    max-width: 400px;
    margin: 0 auto;
}

/* Адаптивность */
@media (max-width: 768px) {
    /* .catalog-sections-container {
        padding: 15px;
    } */
    
    .catalog-sections-title {
        font-size: 28px;
    }
    
    .catalog-sections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* .catalog-section-card {
        margin-bottom: 0;
        min-height: 380px;
    } */
    
    .section-card-image {
        height: 200px;
    }
    
    .section-card-content {
        padding: 20px;
    }
    
    .section-card-title {
        font-size: 20px;
    }
    
    .catalog-sections-empty {
        padding: 60px 15px;
    }
    
    .catalog-sections-empty h3 {
        font-size: 20px;
    }
    
    .catalog-sections-empty p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    /* .catalog-sections-container {
        padding: 10px;
    } */
    
    .catalog-sections-title {
        font-size: 24px;
    }
    
    .catalog-sections-grid {
        gap: 15px;
    }
    
    /* .catalog-section-card {
        min-height: 360px;
    } */
    
    .section-card-image {
        height: 190px;
    }
    
    .section-card-content {
        padding: 15px;
    }
    
    .section-card-title {
        font-size: 16px;
    }
    
    .section-card-btn {
        padding: 10px 16px;
	font-size: 13px;
}

    .catalog-sections-empty {
        padding: 40px 10px;
    }
    
    .catalog-sections-empty h3 {
        font-size: 18px;
    }
    
    .catalog-sections-empty p {
        font-size: 13px;
    }
}

/* Дополнительные стили для Bootstrap колонок */
.catalog-section-card.col-12 {
    grid-column: 1 / -1;
}

.catalog-section-card.col-md-6 {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .catalog-section-card.col-md-6 {
        grid-column: span 1;
    }
}

.catalog-section-card.col-lg-4 {
    grid-column: span 1;
}

@media (min-width: 992px) {
    .catalog-section-card.col-lg-4 {
        grid-column: span 1;
    }
}

.catalog-section-card.col-lg-3 {
    grid-column: span 1;
}

@media (min-width: 992px) {
    .catalog-section-card.col-lg-3 {
        grid-column: span 1;
    }
}

.catalog-section-card.col-lg-2 {
    grid-column: span 1;
}

@media (min-width: 992px) {
    .catalog-section-card.col-lg-2 {
        grid-column: span 1;
    }
}
/* End */
/* /local/templates/eshop_bootstrap_v4/components/bitrix/catalog/bootstrap_v5/style.css?1770124989853 */
/* /local/templates/eshop_bootstrap_v4/components/bitrix/catalog.section.list/design_1/style.css?17701249899605 */
