.buttonz-btn {
    position: relative;
    display: inline-block;
}

.buttonz-btn .elementor-align-icon-right {
    order: 15;
}

.buttonz-btn .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
}

/** === Line Button === **/
.buttonz-btn.buttonz-btn-line {
    display: inline-block;
}

.buttonz-btn.buttonz-btn-line::before {
    transform-origin: 100% 50%;
    transition: transform 0.4s ease;
    content: "";
    width: 100%;
    height: 1px;
    background: #666666;
    position: absolute;
    bottom: 0;
    left: 0;
    animation: fadeInLeft 2s cubic-bezier(0.5, 0, 0.5, 1) both;
}

.buttonz-btn.buttonz-btn-line:hover::before {
    transform: scaleX(0);
}

.buttonz-btn.buttonz-btn-line::after {
    transform: scaleX(0);
    transform-origin: 0 50%;
    background-color: #000;
    transition: transform 0.4s ease 0.2s;
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.buttonz-btn.buttonz-btn-line:hover::after {
    transform: scaleX(1);
}

span.elementor-button-text.words.chars.splitting {
    position: relative;
    display: inline-block;
}

.buttonz-btn.buttonz-btn-line:hover i {
    margin-left: 12px;
    transition: margin 0.4s linear, color 0.5s;
}

/*** === 3D button === ***/
.buttonz-btn.three_d_btn {
    padding: 0;
    background-color: transparent;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 6px 0 #b83a20;
    transition: box-shadow 0.2s ease-in-out;
}
.buttonz-btn.three_d_btn .elementor-button-content-wrapper {
    display: inline-block;
    font-family: inherit;
    background: #f94f2b;
    padding: 12px 35px;
    border-radius: 12px;
    transition: transform 0.2s ease-in-out;
}
.three_d_btn.elementor-size-lg .elementor-button-content-wrapper {
    padding: 20px 40px;
}
.buttonz-btn.three_d_btn.hover:hover .elementor-button-content-wrapper {
    transform: translateY(6px);
}
.buttonz-btn.three_d_btn.click:active .elementor-button-content-wrapper {
    transform: translateY(6px);
}

/*** === 3D button 2 === ***/
.three_d_btn2::before {
    content: "";
    left: 6px;
    right: 6px;
    top: -6px;
    bottom: 0;
    position: absolute;
    background: #b68e05;
    z-index: -1;
    transition: all 0.2s linear;
}
.three_d_btn2.hover:hover::before {
    top: 0;
}
.three_d_btn2.click:active::before {
    top: 0;
}

/** === Left to Right Transition == **/
.buttonz-animation-left2right.buttonz-btn-link:hover::before {
    width: 100%;
}
.buttonz-animation-left2right.buttonz-btn-link::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    overflow: hidden;
    z-index: 0;
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    white-space: nowrap;
}

.elementor-button.buttonz-animation-left2right {
    z-index: 1;
}

.elementor-button.buttonz-animation-left2right:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.elementor-button.buttonz-animation-left2right::after {
    background: #222222;
}

.elementor-button.buttonz-animation-left2right::after {
    transform: scaleX(0);
    transform-origin: right;
    transition: all 0.7s linear;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
    transition-property: transform;
    z-index: -1;
}

.elementor-button.buttonz-animation-left2right::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

span.elementor-button-icon {
    margin-bottom: -2px;
}

.elementor-button .elementor-align-icon-left {
    margin-right: 8px;
}

.elementor-button .elementor-align-icon-right {
    margin-left: 8px;
}