.elgt-edit-template {
    position: relative;
}

.elgt-items:hover .elgt-edit-template .elgt-tmp-btn {
    display: flex;
}

.elgt-empty-item {
    padding: 20px;
    border: 1px dashed #9d9d9d;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.elementor-editor-preview .elgt-no-template .elementor-add-section {

    display: block;
}

.elgt-empty-item .elgt-empty-image {
    display: flex;
    justify-content: center;
}

.elgt-empty-item .elgt-empty-title {
    color: #9d9d9d;
    font-size: 20px;
    text-align: center;
}

.elgt-empty-item .elgt-empty-description {
    color: #9d9d9d;
    font-size: 16px;
    text-align: center;
}

.elgt-empty-item .elgt-empty-button {
    display: flex;
    justify-content: center;
}

.elgt-empty-item button:hover {
    cursor: pointer;
    border: 1px solid #9d9d9d;
}

.elgt-empty-item button {
    background: #555555;
    height: 34px;
    line-height: 34px;
    border: 1px solid #9d9d9d;
    border-radius: 3px;
    padding: 0 20px;
}

.elgt-edit-template .elgt-tmp-btn {
    position: absolute;
    display: none;
    top: 0;
    width: 100%;
    height: 100%;
    /* display: none; */
    align-items: flex-start;
    justify-content: center;
    background: #1effd757;
    border: 2px solid #1effd7ff;
    z-index: 9999999999;
    pointer-events: none;

}

.elgt-edit-template .elgt-tmp-btn button {
    background: #1effd7ff;

    color: #111;
    padding: 1px 5px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 0 0 12px 12px;
    position: relative;
    box-shadow: #a8a2a2 0px 6px 7px -5px;
    height: 32px;
    line-height: 32px;
    border: 0;
    cursor: pointer;
    pointer-events: all;
}


.elgt-edit-template .elgt-save-btn button {
    top: -32px;
    border-radius: 12px 12px 0 0;
    box-shadow: #a8a2a2 0px -5px 7px -2px;
}

.elgt-edit-template .elgt-save-btn {

    display: flex;
    background: none;
    top: 0;
}





.egl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.egl-grid-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.egl-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .egl-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .egl-grid {
        grid-template-columns: 1fr;
    }
}