button:not(.mfp-close, .rm-style-default, .wpcf7-submit, .search-submit, .wp-element-button, .mfp-arrow, .woosc-btn, .woosw-btn, .woosq-btn, .slick-arrow), .button {
    font-size: 14px;
    font-weight: 400;
    line-height: 50px;
    padding: 0 30px;
    margin: 0;
    position: relative;
    display: inline-block;
    cursor: pointer;
    border: none;
    height: auto;
    color: $secondary_color;
    background-color: $heading_color;
    font-family: 'Inter', sans-serif;
    @include border-radius(100px);
    @include transition(all 300ms ease-in-out);
    @media #{$max-xs} {
        padding: 0 25px;
    }
    &:before {
        content: '';
        position: relative;
        display: inline-block;
        width: 10px;
        height: 10px;
        margin-right: 9px;
        background-color: #{'rgba(var(--secondary-color-rgb),0.1)'};
        @include border-radius(20px);
    }
    &:hover, &:focus, &:active, &:not([disabled]):not(.disabled).active, &:not([disabled]):not(.disabled):active {
        outline: medium none;
        text-decoration: none;
        color: $secondary_color;
        &:before {
            @include animation(pxl_dotbg_secpri 1s ease-in-out infinite);
        }
    }
}
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    padding: 0 36px;
    line-height: 48px;
    cursor: pointer;
    border: none;
    height: auto;
    &:hover, &:focus, &:active {
        outline: medium none;
        text-decoration: none;
        color: $heading_color;
    }
}
.btn-default {
    position: relative;
    display: -webkit-inline-box;display: -ms-inline-flexbox;display: inline-flex;
    -webkit-box-align: center;-ms-flex-align: center;align-items: center;
    -webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.625;
    padding: 13px 24px;
    min-width: 200px;
    text-align: center;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    color: $secondary_color;
    background-color: $heading_color;
    @include border-radius(100px);
    &:before {
        content: '';
        position: relative;
        display: inline-block;
        width: 10px;
        height: 10px;
        margin-right: 9px;
        background-color: #{'rgba(var(--secondary-color-rgb),0.1)'};
        @include border-radius(20px);
    }
    span {
        position: relative;
        z-index: 1;
        @include transition(none);
    }
    span + i, svg + i {
        padding-left: 10px;
    }
    svg + span, i + span {
        padding-left: 10px;
    }
    .ripple-span {
        position: absolute;
        width: 20px;
        height: 20px;
        background-color: rgba(255, 255, 255, 0.7);
        @include border-radius(50%);
        @include animation(pxl_ripple 0.7s linear);
        @include transform(scale(0));
    }
    &:hover, &:focus, &:active {
        color: $secondary_color;
        &:before {
            @include animation(pxl_dotbg_secpri 1s ease-in-out infinite);
        }
    }
    &.style2 {
        font-size: 14px;
        line-height: 1.714;
        color: $heading_color;
        background-color: transparent;
        border: 1px solid #{'rgba(var(--heading-color-rgb),0.1)'};
        &:before {
            background-color: #{'rgba(var(--heading-color-rgb),0.1)'};
        }
        &:hover, &:focus, &:active {
            color: $secondary_color;
            background: radial-gradient(circle, $primary_color 0.2em, transparent 0.25em) 0 0/1.25em 1.25em, radial-gradient(circle, $primary_color 0.2em, transparent 0.25em) 6.25em 6.25em/1.25em 1.25em;
            @include animation(pxl_halftone 0.8s forwards);
            &:before {
                @include animation(pxl_dotbg_heasec 1s ease-in-out infinite);
            }
            span {
                @include animation(pxl_fadeIn 300ms ease-in-out);
            }
        }
    }
    &.button-icon {
        width: 100%;
        svg, i {
            @include transition(inherit);
        }
        svg {
            width: 16px;
            height: 16px;
            path {
                fill: $secondary_color;
            }
        }
        &:before {
            display: none;
        }
    }
}
.pxl-btn-crossline {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 15px;
    overflow: hidden;
    @include transition(all 300ms ease-in-out);
    &.pxl-hover-transition {
        @include transition(all 300ms ease-in-out);
    }
    .crossline1, .crossline2 {
        position: absolute;
        left: 0;
        top: 50%;
        height: 1px;
        display: inline-block;
        @include transition(inherit);
        &:before, &:after {
            content: '';
            position: absolute;
            right: 0;
            width: 7px;
            height: 1px;
            -webkit-transform-origin: right;-ms-transform-origin: right;transform-origin: right;
        }
        &:before {
            @include transform(rotate(40deg));
        }
        &:after {
            @include transform(rotate(-40deg));
        }
    }
    .crossline1 {
        width: 15px;
        @include transition(inherit);
        &:before {
            top: 0;
        }
        &:after {
            bottom: 0;
        }
    }
    .crossline2 {
        width: 0px;
        background-color: $secondary_color;
        opacity: 0;
        &:before, &:after {
            background-color: $secondary_color;
            @include transition(all 0.7s ease-in-out);
        }
        &:before {
            top: -10px;
        }
        &:after {
            bottom: -10px;
        }
    }
    &:hover {
        .crossline1 {
            opacity: 0;
            @include transform(scale(0));
        }
        .crossline2 {
            width: 15px;
            opacity: 1;
            &:before {
                top: 0px;
            }
            &:after {
                bottom: 0px;
            }
        }
    }
}
