.widget {
    .kannabis-btn {
        &.btn-small {
            min-width: auto;
        }
    }
}

.header-customize {
    .kannabis-btn {
        min-width: 160px;
        padding: 16px 20px;
        transform: translateY(-2px);
    }
}

.kannabis-btn {
    display: inline-block;
    position: relative;
    line-height: 1;
    font-size: var(--button_font_size);
    font-family: var(--button_font);
    font-weight: var(--button_font_weight);
    text-transform: uppercase;
    color: var(--heading_color);
    border: 1px solid var(--heading_color);
    background-color: @white;
    padding: 17.5px 40px;
    .transition(all 200ms ease-in-out);
    min-width: 200px;
    text-align: center;
    margin: 0;
    letter-spacing: .25em;

    &:focus,
    &:hover {
        cursor: pointer;
        color: @white;
        background-color: var(--heading_color);
        border-color: var(--heading_color);
    }

    &.btn-small {
        padding: 11px 10px;
    }

    &.kannabis-btn-dark {
        color: @white;
        background-color: var(--heading_color);

        &:hover {
            color: @white;
            background-color: var(--primary_color);
            border-color: var(--primary_color);
        }
    }

    a:focus,
    a.active,
    a:hover {
        color: @white;
    }

}

.kannabis-btn-text {
    margin: 0;
    display: inline-block;
    position: relative;
    text-transform: uppercase;
    font-size: var(--button_font_size);
    font-family: var(--button_font);
    font-weight: var(--button_font_weight);
    width: auto;
    outline: 0;
    line-height: 2em;
    letter-spacing: 0.15em;
    box-sizing: border-box;
    cursor: pointer;

    &:before,
    &:after {
        content: '';
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 1px;
    }

    &:before {
        right: 0;
        background: var(--heading_color);
        transform-origin: right;
        transform: scaleX(1);
        transition: all 0.3s cubic-bezier(1, 0.04, 0, 1);
    }

    &:after {
        left: 0;
        background: var(--primary_color);
        transform-origin: left;
        transform: scaleX(0);
    }


    &:hover {
        &:after {
            transform: scaleX(1);
            transform-origin: left;
            transition: transform 0.2s cubic-bezier(1, 0.04, 0, 1) 0.3s;
        }

        &:before {
            transform: scaleX(0);
            transform-origin: right;

        }
    }
}

.yolo-button {
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1), color 0s linear;
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: var(--button_font_size);
    font-family: var(--button_font);
    font-weight: var(--button_font_weight);
    letter-spacing: 0.1em;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
    cursor: pointer;
    border-width: 0;
    border-style: solid;
    border-radius: 0;
    text-transform: uppercase;
    color: var(--heading_color);
}

.yolo-button {
    &.style-flat {
        &:before {
            background-color: var(--heading_color);
        }

        &:after {
            background-color: var(--primary_color);
        }
    }

    &.style-border {
        border-color: var(--primary_color);

        &:after {
            background-color: var(--primary_color);
        }
    }

    &.style-thick-border {
        border-color: var(--primary_color);
    }

    &.style-icon-circle {
        &:before {
            background-color: var(--heading_color);
        }

        &:after {
            background-color: var(--primary_color);
        }
    }
}

.yolo-button.yolo-button-full-wide {
    width: 100% !important;
}

.yolo-button .button-content-wrapper {
    display: flex;
    align-items: center;
}

.yolo-button .button-icon {
    flex-shrink: 0;
    position: relative;
    font-size: 16px;
}

.yolo-button .button-icon i {
    background: inherit;
}

.yolo-button.icon-left .button-icon {
    margin-right: 14px;
}

.yolo-button.icon-right .button-icon {
    margin-left: 14px;
}

.yolo-button.style-flat,
.yolo-button.style-border,
.yolo-button.style-thick-border {
    padding: 0 36px;
    min-height: 55px;
}

.yolo-button.style-flat.yolo-button-lg,
.yolo-button.style-border.yolo-button-lg,
.yolo-button.style-thick-border.yolo-button-lg {
    padding: 0 42px;
    min-height: 60px;
}

.yolo-button.style-flat.yolo-button-lg .button-text,
.yolo-button.style-border.yolo-button-lg .button-text,
.yolo-button.style-thick-border.yolo-button-lg .button-text {
    font-size: 1.1em;
}

.yolo-button.style-flat.yolo-button-sm,
.yolo-button.style-border.yolo-button-sm,
.yolo-button.style-thick-border.yolo-button-sm {
    padding: 0 28px;
    min-height: 50px;
}

.yolo-button.style-flat.yolo-button-xs,
.yolo-button.style-border.yolo-button-xs,
.yolo-button.style-thick-border.yolo-button-xs {
    padding: 0 20px;
    min-height: 45px;
}

.yolo-button.style-flat {
    color: #fff;
}

.yolo-button.style-border {
    border-width: 1px;
    background-color: transparent;
}

.yolo-button.style-border:hover {
    color: #fff;
}

.yolo-button.style-thick-border {
    border-width: 2px;
}

.yolo-button.style-text .button-icon,
.yolo-button.style-text-left-line .button-icon {
    font-size: 11px;
}

.yolo-button.style-text.yolo-button-lg,
.yolo-button.style-text-left-line.yolo-button-lg {
    font-size: 1.1em;
}

.yolo-button.style-text.yolo-button-sm,
.yolo-button.style-text-left-line.yolo-button-sm {
    font-size: .9em;
}

.yolo-button.style-text.yolo-button-xs,
.yolo-button.style-text-left-line.yolo-button-xs {
    font-size: .8em;
}

.yolo-button.style-text .button-text {
    padding: 5px 0;
}

.yolo-button.style-text .button-text:before {
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    left: auto;
    right: 0;
    bottom: 0;
    background: #ddd;
}

.yolo-button.style-text .button-text {
    &:after {
        content: '';
        width: 0;
        height: 1px;
        position: absolute;
        left: auto;
        right: 0;
        bottom: 0;
        transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
        background: currentColor;
    }

    &:hover:after {
        width: 100%;
        left: 0;
        right: auto;
    }
}


.yolo-button.style-text-left-line .button-text {
    position: relative;
    padding: 0 0 0 62px;
}

.yolo-button.style-text-left-line .button-text:hover:after {
    width: 50px;
    left: 0;
}

.yolo-button.style-text-left-line .button-text:before,
.yolo-button.style-text-left-line .button-text:after {
    content: '';
    width: 50px;
    height: 1px;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -1px;
    background: #ddd;
}

.yolo-button.style-text-left-line .button-text:after {
    width: 0;
    -webkit-transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
    background: currentColor;
}

.yolo-button.style-circle {
    font-size: 18px;
    border: 1px solid #eee;
    border-radius: 50%;
    width: 160px;
    height: 160px;
}

.yolo-button.style-circle:hover {
    color: #fff;
    background: #111;
    border-color: #111;
}

.yolo-button.style-circle .button-content-wrapper {
    width: 65%;
    white-space: normal;
}

.yolo-button.style-circle.yolo-button-lg {
    font-size: 20px;
    width: 192px;
    height: 192px;
}

.yolo-button.style-circle.yolo-button-sm {
    font-size: 16px;
    width: 100px;
    height: 100px;
}

.yolo-button.style-circle.yolo-button-xs {
    font-size: 14px;
    width: 130px;
    height: 130px;
}

.yolo-button.style-icon-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: #fff;
}

.yolo-button.style-icon-circle .button-icon {
    font-size: 15px;
    margin: 0;
}

.yolo-button.style-icon-circle .button-text {
    display: none;
}

.yolo-button.style-icon-circle.yolo-button-lg {
    width: 60px;
    height: 60px;
}

.yolo-button.style-icon-circle.yolo-button-sm {
    width: 50px;
    height: 50px;
}

.yolo-button.style-icon-circle.yolo-button-xs {
    width: 45px;
    height: 45px;
}

.yolo-button.style-flat,
.yolo-button.style-icon-circle,
.yolo-button.style-border,
.yolo-button.style-thick-border,
.yolo-button.style-circle {
    position: relative;
    transform: perspective(1px) translateZ(0);
}

.yolo-button.style-flat:hover:before,
.yolo-button.style-icon-circle:hover:before,
.yolo-button.style-border:hover:before,
.yolo-button.style-thick-border:hover:before,
.yolo-button.style-circle:hover:before {
    opacity: 0;
}

.yolo-button.style-flat:hover:after,
.yolo-button.style-icon-circle:hover:after,
.yolo-button.style-border:hover:after,
.yolo-button.style-thick-border:hover:after,
.yolo-button.style-circle:hover:after {
    opacity: 1;
}

.yolo-button.style-flat:before,
.yolo-button.style-flat:after,
.yolo-button.style-icon-circle:before,
.yolo-button.style-icon-circle:after,
.yolo-button.style-border:before,
.yolo-button.style-border:after,
.yolo-button.style-thick-border:before,
.yolo-button.style-thick-border:after,
.yolo-button.style-circle:before,
.yolo-button.style-circle:after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
}

.yolo-button.style-flat:after,
.yolo-button.style-icon-circle:after,
.yolo-button.style-border:after,
.yolo-button.style-thick-border:after,
.yolo-button.style-circle:after {
    opacity: 0;
}

.yolo-button.style-border:before,
.yolo-button.style-border:after {
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
}

.yolo-button.style-thick-border:before,
.yolo-button.style-thick-border:after {
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}