.wc-btn-wrapper {
    display: inline-block;
}

.btn-text-flip svg,
.wc-btn-wrapper svg {
    width: 1em;
    height: 1em;
}

/* Button 1 and 2 */
.wc-btn-group {
    display: flex;
    width: fit-content;
}

.wc-btn-group .wc-btn-primary {
    padding: 14px 26px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    color: #121212;
    background-color: #7FE85A;
    text-transform: capitalize;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
    gap: 30px;
    white-space: nowrap;
    border-radius: 30px;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.wc-btn-group .wc-btn-play {
    color: #121212;
    fill: #121212;
    border-radius: 50px;
    background-color: #7FE85A;
    border: 2px solid #fff;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.5s;
}

.wc-btn-group .wc-btn-play svg {
    transform: rotate( -45deg );
}

.wc-btn-group > *:nth-child(2) {
    transform: scale3d(1, 1, 1);
}

.wc-btn-group:hover > *:nth-child(2) {
    transform: scale3d(1, 1, 1);
}

/* Style 1 */
.style-1 .wc-btn-group > *:nth-child(1) {
    transform: scale3d(0.5, 0.5, 1);
    margin-right: calc( var(--icon-width, 50px) * -1);
    opacity: 0;
}

.style-1 .wc-btn-group > *:nth-child(3) {
    transform: scale3d(1, 1, 1);
    margin-left: -17px;
    opacity: 1;
}

.style-1 .wc-btn-group:hover > *:nth-child(1) {
    transform: scale3d(1, 1, 1);
    margin-right: -17px;
    opacity: 1;
}

.style-1 .wc-btn-group:hover > *:nth-child(3) {
    transform: scale3d(0.5, 0.5, 1);
    margin-left: calc( var(--icon-width, 50px) * -1);
    opacity: 0;
}

/* Style 2 */
.style-2 .wc-btn-group > *:nth-child(1) {
    transform: scale3d(1, 1, 1);
    margin-right: 0;
    opacity: 1;
}

.style-2 .wc-btn-group > *:nth-child(3) {
    transform: scale3d(0.5, 0.5, 1);
    margin-left: calc( var(--icon-width, 60px) * -1);
    opacity: 0;
}

.style-2 .wc-btn-group:hover > *:nth-child(1) {
    transform: scale3d(0.5, 0.5, 1);
    margin-right: calc( var(--icon-width, 60px) * -1);
    opacity: 0;
}

.style-2 .wc-btn-group:hover > *:nth-child(3) {
    transform: scale3d(1, 1, 1);
    margin-left: 0;
    opacity: 1;
}

/* Button Flip */
.btn-text-flip {
    perspective: 1000px;
    text-decoration: none;
}

.btn-text-flip:hover {
    color: #fff;
    fill: #fff;
}

.btn-text-flip:hover span {
    color: #fff;
    transform: rotateX(90deg) translateY(-12px);
}

.btn-text-flip span {
    position: relative;
    display: inline-block;
    padding: 0;
    color: #121212;
    transition: transform 0.3s;
    transform-origin: 50% 0;
    transform-style: preserve-3d;
}

.btn-text-flip span:before {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    content: attr(data-text);
    transition: color 0.3s;
    transform: rotateX(-90deg);
    transform-origin: 50% 0;
    text-align: center;
}

/* Style 4 */
.style-4 .btn-border-crop {
    display: inline-block;
}

.style-4 .btn-border-crop:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: linear-gradient(105.52deg, var(--b-color-1, #FF856A) 0%,  var(--b-color-2, #FFED4E) 34%, var(--b-color-3, #4BFFF4) 69%, var(--b-color-4, #7F52FF) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    mask-image: var(--btn-bg, url(./../images/btn-image.webp));
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    mask-position: center;
}

.arolax-btn-width-full .wc-btn-wrapper {
    width: 100%;
}

.arolax-btn-width-full a {
    width: 100%;
    justify-content: center;
}


/* Style 5 */
.btn-border-divide {
    gap: 10px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.btn-border-divide .text,
.btn-border-divide .icon {
    border-bottom: 1px solid;
}

.btn-border-divide .icon {
    padding-bottom: 3px;
    position: relative;
}

.btn-border-divide .icon i:first-child,
.btn-border-divide .icon svg:first-child {
    position: absolute;
    transform: translate(-10px, 10px);
    transition: all .3s;
    opacity: 0;
}

.btn-border-divide .icon i:last-child,
.btn-border-divide .icon svg:last-child {
    transition: all .3s;
    opacity: 1;
}

/* Hover */
.btn-border-divide:hover .icon i:first-child,
.btn-border-divide:hover .icon svg:first-child {
    transform: translate(0, 0);
    opacity: 1;
}

.btn-border-divide:hover .icon i:last-child,
.btn-border-divide:hover .icon svg:last-child {
    transform: translate(10px, -10px);
    opacity: 0;
}

.provide-btn {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.provide-btn span {
    display: inline-block;
    margin-left: 3px;
}

.provide-btn:hover {
    color: #fff;
}

.provide-btn:hover::after {
    width: 100%;
}

.provide-btn::before {
    position: absolute;
    content: "";
    width: 100%;
    left: 0;
    bottom: -2px;
    height: 2px;
    background: #7FE85A;
    transition: 0.3s;
}

.provide-btn::after {
    position: absolute;
    content: "";
    width: 0;
    left: 0;
    bottom: -2px;
    height: 2px;
    background: #ffffff;
    transition: 0.3s;
}

/*Style 7*/
.btn-border {
    border: 1px solid #121212;
    border-radius: 15px;
    padding: 5px 5px 5px 20px;
    display: inline-block;
    transition: all 0.3s 0s ease-out;
}
.btn-border:hover {
    background-color: #ff6d39;
    border-color: #ff6d39;
}
.btn-border:hover .text-content {
    color: #FFFFFF;
}
.btn-border:hover .icon-box {
    background-color: #FFFFFF;
    color: #121212;
    fill: #121212;
}
.btn-border .text-content {
    font: 500 16px "DM Sans", sans-serif;
    color: #121212;
}
.btn-border .icon-box {
    padding: 13px;
    background-color: #ff6d39;
    border-radius: 11px;
    display: inline-flex;
    margin-left: 15px;
    color: #FFFFFF;
    fill: #FFFFFF;
    align-items: center;
}
.btn-border.btn-bg {
    background-color: #ff6d39;
    border-color: #ff6d39;
}
.btn-border.btn-bg:hover {
    background-color: #121212;
    border-color: #121212;
}
.btn-border.btn-bg .text-content {
    color: #FFFFFF;
    font-weight: 600;
}
.btn-border.btn-bg .icon-box {
    background-color: #FFFFFF;
    color: #121212;
}
