.lgp-module {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 40px;
    overflow: hidden;
    font-family: inherit;
}

.lgp-header {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lgp-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.lgp-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lgp-controls.disabled-navigation {
    display: none !important;
}

.lgp-pagination {
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
}

.lgp-pagination .swiper-pagination-current {
    color: #111827;
}

.lgp-nav-arrows {
    display: flex;
    gap: 8px;
    background: #fff;
    padding: 4px;
    border-radius: 20px;
}

.lgp-arrow {
    width: 38px;
    height: 24px;
    background: #f3f4f6;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #111827;
}

.lgp-arrow:hover {
    background: #e5e7eb;
}

.lgp-arrow.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.lgp-arrow svg {
    display: block;
}

.lgp-body {
    position: relative;
    padding: 0;
}

.lgp-slide {
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.lgp-type-slider .lgp-slide {
    border-right: 1px solid #e5e7eb;
}

.lgp-type-grid .lgp-header {
    border-bottom: none;
}

.lgp-grid-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: #e5e7eb;
    gap: 1px;
    border-top: 1px solid #e5e7eb;
}

.lgp-grid-wrapper .lgp-slide {
    background: #ffffff;
    flex: 1 1 calc((100% - 3px) / 4);
}

.lgp-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 16px 0;
    text-decoration: none;
    transition: color 0.2s;
}

.lgp-group-title:hover {
    color: #2563eb;
}

.lgp-group-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

.lgp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    /*flex-grow: 1;*/
}

.lgp-list li {
    margin-bottom: 12px;
}

.lgp-list li:last-child {
    margin-bottom: 0;
}

.lgp-link {
    font-size: 13px;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.4;
    display: inline-block;
}

.lgp-link:hover {
    color: #2563eb;
}

.lgp-hidden-block {
    display: none;
    margin-top: 12px;
}

.lgp-btn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3f4f6;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 16px;
    margin-right: auto;
}

.lgp-btn-more:hover {
    background: #e5e7eb;
}

.lgp-btn-more svg {
    transition: transform 0.3s;
}

.lgp-btn-more.is-open svg {
    transform: rotate(180deg);
}

@media (max-width: 1024px) {
    .lgp-grid-wrapper .lgp-slide {
        flex: 1 1 calc((100% - 2px) / 3);
    }
}

@media (max-width: 768px) {
    .lgp-grid-wrapper .lgp-slide {
        flex: 1 1 calc((100% - 1px) / 2);
    }
}

@media (max-width: 575.98px) {
    .lgp-nav-arrows {
        display: none;
    }

    .lgp-type-slider .lgp-slide {
        padding: 16px;
        border-right: none;
        background: #fff;
        border-radius: 8px;
        border: 1px solid #e5e7eb;
    }

    .lgp-type-slider .lgp-body {
        padding: 12px;
        background: #f9fafb;
    }

    .lgp-grid-wrapper .lgp-slide {
        flex: 1 1 100%;
    }

    .lgp-type-grid .lgp-slide {
        padding: 16px;
    }
}