.action-buttons {
    display: none;
    justify-content: center;
    gap: 15px;
    padding: 10px;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 -5px 10px rgba(0,0,0,.05);
    z-index: 10;
    transition: all .3s ease;
    flex-wrap: wrap;
    min-height: 60px;
}
.action-buttons.active {
    display: flex;
}

.has-scrolled .action-buttons {
    box-shadow: 0 -5px 15px rgba(0,0,0,.1)
}

.action-buttons button {
    min-width: 160px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0,0,0,.1)
}

.action-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,.15)
}

.action-buttons button:active {
    transform: translateY(0);
    box-shadow: 0 3px 6px rgba(0,0,0,.1)
}

.action-buttons .load-more-btn {
    background: linear-gradient(135deg,#4e73df,#224abe);
    color: #fff;
    border: none
}

.action-buttons .load-more-btn:hover {
    background: linear-gradient(135deg,#3a67e0,#1a3ea8)
}

.action-buttons #checkout_continue,.action-buttons .buy-all-btn {
    background: linear-gradient(135deg,#ff5757,#ff8a5b);
    color: #fff;
    border: none
}

.action-buttons #checkout_continue:hover,.action-buttons .buy-all-btn:hover {
    background: linear-gradient(135deg,#ff4747,#ff7a4b)
}

.action-buttons .add-comments-btn {
    background: linear-gradient(135deg,#26c6da,#00acc1);
    color: #fff;
    border: none
}

.action-buttons .add-comments-btn:hover {
    background: linear-gradient(135deg,#22b7c9,#0097a7)
}

.action-buttons button .icon {
    display: inline-flex;
    margin-left: 8px;
    transition: transform .3s ease
}

.action-buttons button:hover .icon {
    transform: translateX(3px)
}

.action-buttons button .icon img {
    width: 16px;
    height: 16px
}

.action-buttons button.loading {
    pointer-events: none;
    opacity: .8
}

.action-buttons button.loading .loader-icon {
    display: inline-block;
    margin-right: 8px;
    animation: spin 1s linear infinite
}
.post-loader span#smm_loader {
    position: absolute;
    bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffffd1;
    height: 60px;
}

.post-loader span#smm_loader img {
    max-width: 45px;
}

@keyframes spin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

.action-buttons button:disabled {
    background: #e0e0e0;
    color: #a0a0a0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none
}

.action-buttons button.hide {
    display: none
}

.selected-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff5757;
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,.2)
}

.action-buttons button:focus {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(66,153,225,.5),0 3px 6px rgba(0,0,0,.1)
}

.action-buttons button:not(.loading):active {
    transform: scale(.98)
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction:column;
        padding: 15px;
        gap: 10px
    }

    .action-buttons button {
        width: 100%;
        min-width: auto;
        padding: 12px 15px
    }
    .post-loader{
        bottom: 110px;
    }   
}

.no-posts-selected #checkout_continue,.no-posts-selected .add-comments-btn,.no-posts-selected .buy-all-btn {
    opacity: .7;
    cursor: not-allowed;
    background: #e0e0e0;
    color: #a0a0a0;
    pointer-events: none
}
