

/* Start:/bitrix/templates/prostroy_default/components/bitrix/catalog.section.list/gopro/style.css?17509548883634*/
.around_image {
    position: relative;
    display: inline-block;
}

.around_image img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.3s;
}

.around_image .subsections {
    position: absolute;
    left: 50%;
    top: 0%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    background: rgba(255,255,255,0.97);
    padding: 12px 8px;
    border-radius: 8px;
    transform: translateX(-50%);
    overflow-y: auto;
}

/* Стили для ссылок */
.around_image .subsections a {
    display: block;
    padding: 2px 4px;
    margin-bottom: 2px;
    background: #f5f5f7;
    color: #1a1a1a;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.around_image .subsections a:hover,
.around_image .subsections a:focus {
    background: #0e5724;
    color: #ffffff;
    text-decoration: none;
}

/* Если нужно ограничить ширину блока */
.around_image .subsections {
    min-width: 160px;
    max-width: 100%;
}

/* При наведении показываем subsections и скрываем картинку */
.around_image:hover .subsections,
.around_image:focus-within .subsections {
    opacity: 1;
    pointer-events: auto;
}

.around_image:hover img,
.around_image:focus-within img {
    opacity: 0.1; /* или 0, если нужно полностью скрыть */
}

.b-section-list ul.row.list-unstyled {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 13px;
    list-style: none;
}

.b-section-list li.section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin: 0 -5px 3px -5px;
    padding: 18px 12px 12px 12px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.b-section-list li.section:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px) scale(1.02);
    z-index: 3;
}

.b-section-list .around_image {
    margin-bottom: 12px;
    width: 100%;
    max-width: 100%;
    min-height: calc(100% - 50px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.b-section-list .around_image img {
    border-radius: 8px;
    /* box-shadow: 0 1px 4px rgba(0,0,0,0.07); */
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    /* background: #f7f7fa; */
    padding: 6px;
}

.b-section-list a.parent {
    display: block;
    /* margin-top: 8px; */
    font-size: 1.08em;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-word;
    width: 100%;
}

.b-section-list a.parent:hover,
.b-section-list a.parent:focus {
    color: #0056b3;
    text-decoration: underline;
}

/* Показываем меню при наведении на .section */
.b-section-list li.section .around_image:hover .around_image .subsections,
.b-section-list li.section .around_image:focus-within .around_image .subsections {
    opacity: 1;
    pointer-events: auto;
}

/* Картинка становится прозрачной при ховере */
.b-section-list li.section .around_image:hover .around_image img,
.b-section-list li.section .around_image:focus-within .around_image img {
    opacity: 0.1;
}


/* End */
/* /bitrix/templates/prostroy_default/components/bitrix/catalog.section.list/gopro/style.css?17509548883634 */
