.unlock_addon_footer_links {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    background: #05070b;
    padding: 32px 40px;
    border-radius: 24px;
    color: #000000;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 25px 45px rgba(0, 0, 0, 0.35);
}

.unlock_addon_footer_links,
.unlock_addon_footer_links *,
.unlock_addon_footer_links a {
    color: #000000;
}

.unlock_addon_footer_links_list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px; /* Default gap, can be overridden by Elementor control */
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Row Direction (Horizontal) - Default */
.unlock_addon_footer_links_list {
    grid-auto-flow: row;
}

/* Column Direction (Vertical) */
.elementor-widget-unlockafe-footer-links .unlock_addon_footer_links_direction-column .unlock_addon_footer_links_list,
.unlock_addon_footer_links_direction-column .unlock_addon_footer_links_list,
.elementor-element .unlock_addon_footer_links_direction-column .unlock_addon_footer_links_list {
    grid-template-columns: 1fr !important;
    grid-auto-flow: row;
    display: grid !important;
}

/* Row Direction - Explicit */
.elementor-widget-unlockafe-footer-links .unlock_addon_footer_links_direction-row .unlock_addon_footer_links_list,
.unlock_addon_footer_links_direction-row .unlock_addon_footer_links_list {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    grid-auto-flow: row;
}

.unlock_addon_footer_links_item {
    margin: 0;
}

.unlock_addon_footer_links_link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    color: #ffffff;
    transition: all 0.25s ease;
}

.unlock_addon_footer_links_link:hover {
    background: #ffffff;
    color: #0f1115;
    border-color: transparent;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.unlock_addon_footer_links_number {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: inherit;
}

.unlock_addon_footer_links_content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.unlock_addon_footer_links_label {
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.6);
}

.unlock_addon_footer_links_title {
    font-size: 15px;
    font-weight: 600;
    color: inherit;
}

.unlock_addon_footer_links_icon {
    margin-left: auto;
    font-size: 14px;
    color: inherit;
    transition: transform 0.2s ease;
}

.unlock_addon_footer_links_link:hover .unlock_addon_footer_links_icon {
    transform: translateX(4px);
}

.unlock_addon_footer_links_layout-2 .unlock_addon_footer_links_list {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px; /* Default gap, can be overridden by Elementor control */
}

.elementor-widget-unlockafe-footer-links .unlock_addon_footer_links_layout-2.unlock_addon_footer_links_direction-column .unlock_addon_footer_links_list,
.unlock_addon_footer_links_layout-2.unlock_addon_footer_links_direction-column .unlock_addon_footer_links_list {
    grid-template-columns: 1fr !important;
}

.elementor-widget-unlockafe-footer-links .unlock_addon_footer_links_layout-2.unlock_addon_footer_links_direction-row .unlock_addon_footer_links_list,
.unlock_addon_footer_links_layout-2.unlock_addon_footer_links_direction-row .unlock_addon_footer_links_list {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
}

.unlock_addon_footer_links_layout-2 .unlock_addon_footer_links_link {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
}

.unlock_addon_footer_links_layout-2 .unlock_addon_footer_links_link:hover {
    background: transparent;
    color: #ffffff;
    border-bottom-color: #ffffff;
    box-shadow: none;
}

.unlock_addon_footer_links_layout-2 .unlock_addon_footer_links_icon {
    display: none;
}

.unlock_addon_footer_links_layout-3 .unlock_addon_footer_links_list {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.elementor-widget-unlockafe-footer-links .unlock_addon_footer_links_layout-3.unlock_addon_footer_links_direction-column .unlock_addon_footer_links_list,
.unlock_addon_footer_links_layout-3.unlock_addon_footer_links_direction-column .unlock_addon_footer_links_list {
    grid-template-columns: 1fr !important;
}

.elementor-widget-unlockafe-footer-links .unlock_addon_footer_links_layout-3.unlock_addon_footer_links_direction-row .unlock_addon_footer_links_list,
.unlock_addon_footer_links_layout-3.unlock_addon_footer_links_direction-row .unlock_addon_footer_links_list {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
}

.unlock_addon_footer_links_layout-3 .unlock_addon_footer_links_link {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.unlock_addon_footer_links_layout-3 .unlock_addon_footer_links_icon {
    margin-left: 0;
}

@media (max-width: 767px) {
    .unlock_addon_footer_links_list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px; /* Default gap, can be overridden by Elementor control */
    }

    .unlock_addon_footer_links_link {
        padding: 12px 14px;
    }
}

