.cj-button {
    display: inline-flex;
    align-items: stretch;
    min-height: var(--cj-button-height);
    border: 0;
    background: transparent;
    color: var(--cj-color-black);
    font-family: var(--cj-font-display);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: var(--cj-button-letter-spacing);
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 200ms ease, filter 180ms ease;
}

.cj-button:hover {
    transform: translateY(-2px);
}

.cj-button--no-lift:hover,
.cj-button--dropdown:hover {
    transform: none;
}

.cj-button__label,
.cj-button > span:first-child {
    display: flex;
    align-items: center;
    padding: 0 var(--cj-button-label-padding);
    white-space: nowrap;
}

.cj-button__icon,
.cj-button > span:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--cj-button-icon-size);
    min-width: var(--cj-button-icon-size);
    font-size: 20px;
}

.cj-button--primary .cj-button__label,
.cj-button--primary > span:first-child,
.cj-button--orange .cj-button__label,
.cj-button--orange > span:first-child {
    color: var(--cj-color-black);
    background: var(--cj-color-orange);
}

.cj-button--primary .cj-button__icon,
.cj-button--primary > span:last-child,
.cj-button--orange .cj-button__icon,
.cj-button--orange > span:last-child {
    color: var(--cj-color-black);
    background: var(--cj-color-white);
}

.cj-button--dark .cj-button__label,
.cj-button--dark > span:first-child {
    color: var(--cj-color-light);
    background: var(--cj-color-black);
}

.cj-button--dark .cj-button__icon,
.cj-button--dark > span:last-child {
    color: var(--cj-color-black);
    background: var(--cj-color-orange);
}

.cj-button--secondary .cj-button__label,
.cj-button--secondary > span:first-child,
.cj-button--outline .cj-button__label,
.cj-button--outline > span:first-child {
    color: var(--cj-color-light);
    background: var(--cj-color-panel-dark);
    border: 1px solid var(--cj-color-line-light);
    border-right: 0;
}

.cj-button--secondary .cj-button__icon,
.cj-button--secondary > span:last-child,
.cj-button--outline .cj-button__icon,
.cj-button--outline > span:last-child {
    color: var(--cj-color-black);
    background: var(--cj-color-orange);
}

.cj-button--compact {
    min-height: var(--cj-button-height-compact);
    font-size: 15px;
    font-weight: 900;
}

.cj-button--compact .cj-button__label,
.cj-button--compact > span:first-child {
    padding: 0 var(--cj-button-label-padding-tight);
}

.cj-button--compact .cj-button__icon,
.cj-button--compact > span:last-child {
    width: var(--cj-button-icon-size-compact);
    min-width: var(--cj-button-icon-size-compact);
    font-size: 18px;
}

@media (max-width: 560px) {
    .cj-button {
        min-height: 46px;
        font-size: 14px;
    }

    .cj-button__label,
    .cj-button > span:first-child {
        padding: 0 18px;
    }

    .cj-button__icon,
    .cj-button > span:last-child {
        width: 46px;
        min-width: 46px;
    }
}
