/*** Buttons Styles ***/
a.button,
.wpcf7 input[type="button"],
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"],
button.primary,
button.secondary,
button.tertiary,
button.download,
button.tag,
button.tab,
.woocommerce form.lost_reset_password button.woocommerce-Button.button {
    display: inline-block;
    text-align: center;
    text-decoration: none!important;
    -webkit-box-shadow: none;
    box-shadow: none;
    cursor: pointer;
    transition: ease all 0.3s;
    border: none;
    margin-left: 0;
    margin-right: 30px;
    margin-bottom: 10px;
    white-space: nowrap;
    height: fit-content;
    height: max-content;
}
a.button:first-of-type,
.wpcf7 button[type="submit"]:first-of-type,
.wpcf7 input[type="submit"]:first-of-type,
button.primary:first-of-type,
button.secondary:first-of-type,
button.tertiary:first-of-type,
button.download:first-of-type,
button.tag:first-of-type,
button.tab:first-of-type,
.woocommerce form.lost_reset_password button.woocommerce-Button.button:first-of-type {
    margin-left: 0;
}

a.button.disabled,
a.button:disabled,
.wpcf7 input[type="button"]:disabled,
.wpcf7 input[type="button"].disabled,
button.primary:disabled,
button.primary.disabled,
button.secondary:disabled,
button.secondary.disabled,
button.tertiary:disabled,
button.tertiary.disabled,
.wpcf7 input[type="submit"]:disabled,
.wpcf7 input[type="submit"].disabled,
.wpcf7 button[type="submit"]:disabled,
.wpcf7 button[type="submit"].disabled,
button.tag:disabled,
button.tag.disabled,
button.tab:disabled,
button.tab.disabled {
    cursor: not-allowed !important;
}

button:focus {
    outline: none !important;
}
button:hover {
    cursor: pointer;
}
button:disabled:hover {
    cursor: not-allowed;
}
input:disabled:hover {
    cursor: not-allowed;
}


/*** Primary Buttons ***/
a.button.primary,
button.primary,
.wpcf7 input[type="button"],
.wpcf7 button[type="submit"],
.wpcf7 input[type="submit"],
.woocommerce button.primary,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.primary,
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order,
.woocommerce form.lost_reset_password button.woocommerce-Button.button {
    position: relative;
    padding: 16px 35px;
    padding-bottom: 13.5px;
    border-radius: 3px;
    border-width: 1px;
    border-style: solid;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: fit-content;
    width: max-content;
    /* default color */
    color: var(--white);
    background-color: var(--deep-cove);
    border-color: var(--deep-cove);
}
a.button.primary::after,
button.primary::after,
.wpcf7 button[type="submit"].primary::after,
.wpcf7 input[type="submit"].primary::after,
.woocommerce button.primary::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.primary::after,
.woocommerce #payment #place_order::after,
.woocommerce-page #payment #place_order::after,
.woocommerce form.lost_reset_password button.woocommerce-Button.button::after {
    content: '';
    display: inline-block;
    height: 14px;
    width: 20px;
    margin-left: 7px;
    position: relative;
    background-size: contain;
    background-position: right top;
    background-repeat: no-repeat;
    background-image: url('assets/primary/off-white_arrow.svg');
    transition: ease all 0.3s;
}
a.button.primary:hover,
button.primary:hover,
.wpcf7 button[type="submit"]:hover,
.wpcf7 input[type="submit"]:hover,
.woocommerce button.primary:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.primary:hover,
.woocommerce #payment #place_order:hover,
.woocommerce-page #payment #place_order:hover,
.woocommerce form.lost_reset_password button.woocommerce-Button.button:hover {
    transform: scale(1);
    background-color: var(--shale);
    border-color: var(--shale);
    color: var(--off-white);
    outline: none;
}
a.button.primary:hover::after,
button.primary:hover::after,
.wpcf7 button[type="submit"].primary:hover::after,
.wpcf7 input[type="submit"].primary:hover::after,
.woocommerce button.primary:hover::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.primary:hover::after,
.woocommerce #payment #place_order:hover::after,
.woocommerce-page #payment #place_order:hover::after,
.woocommerce form.lost_reset_password button.woocommerce-Button.button:hover::after {
    background-image: url('assets/primary/off-white_arrow.svg');
}
a.button.primary:focus,
button.primary:focus,
button.secondary:focus,
.wpcf7 button[type="submit"]:focus,
.wpcf7 input[type="submit"]:focus,
.wpcf7 input[type="button"]:focus,
.woocommerce button.primary:focus,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.primary:focus,
.woocommerce #payment #place_order:focus,
.woocommerce-page #payment #place_order:focus,
.woocommerce form.lost_reset_password button.woocommerce-Button.button:focus {
    outline: none;
}
@media(max-width: 1599.98px){
    a.button.primary,
    button.primary,
    .wpcf7 input[type="button"],
    .wpcf7 button[type="submit"],
    .wpcf7 input[type="submit"],
    .woocommerce button.primary,
    :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.primary,
    .woocommerce #payment #place_order,
    .woocommerce-page #payment #place_order,
    .woocommerce form.lost_reset_password button.woocommerce-Button.button {
        font-size: 14px;
        padding: 14.2px 20px !important;
        line-height: 17px;
        margin-right: 10px;
    }
}
@media(max-width: 767.98px) {
    /*** Primary Buttons ***/
    a.button.primary,
    button.primary,
    .wpcf7 input[type="button"],
    .wpcf7 button[type="submit"],
    .wpcf7 input[type="submit"],
    .woocommerce button.primary,
    :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.primary,
    .woocommerce #payment #place_order,
    .woocommerce-page #payment #place_order,
    .woocommerce form.lost_reset_password button.woocommerce-Button.button {
        padding: 12px 20px!important;
        /*padding-bottom: 11px;*/
        font-size: 14px;
    }
    a.button.primary::after,
    button.primary::after,
    .wpcf7 button[type="submit"].primary::after,
    .wpcf7 input[type="submit"].primary::after,
    .woocommerce button.primary::after,
    :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.primary::after,
    .woocommerce #payment #place_order::after,
    .woocommerce-page #payment #place_order::after,
    .woocommerce form.lost_reset_password button.woocommerce-Button.button::after {
        height: 11px;
        width: 17px;
    }
}




/*** Secondary Buttons ***/
a.button.secondary,
button.secondary,
.wpcf7 button[type="submit"].secondary,
.wpcf7 input[type="submit"].secondary,
.woocommerce button.secondary,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.secondary {
    position: relative;
    padding: 16px 35px;
    padding-bottom: 13.5px;
    border-radius: 3px;
    border-width: 1px;
    border-style: solid;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: fit-content;
    width: max-content;
    /* default color */
    background-color: transparent;
    border-color: var(--deep-cove);
    color: var(--deep-cove);
}
a.button.secondary::after,
button.secondary::after,
.wpcf7 button[type="submit"].secondary::after,
.wpcf7 input[type="submit"].secondary::after,
.woocommerce button.secondary::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.secondary::after {
    content: '';
    display: inline-block;
    height: 14px;
    width: 20px;
    margin-left: 7px;
    position: relative;
    background-size: contain;
    background-position: right top;
    background-repeat: no-repeat;
    background-image: url('assets/primary/deep-cove_arrow.svg');
    transition: ease all 0.3s;
}
a.button.secondary:hover,
button.secondary:hover,
.wpcf7 button[type="submit"].secondary:hover,
.wpcf7 input[type="submit"].secondary:hover,
.woocommerce button.secondary:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.secondary:hover {
    transform: scale(1);
    background-color: var(--shale);
    border-color: var(--shale);
    color: var(--off-white);
}
a.button.secondary:hover::after,
button.secondary:hover::after,
.wpcf7 button[type="submit"].secondary:hover::after,
.wpcf7 input[type="submit"].secondary:hover::after,
.woocommerce button.secondary:hover::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.secondary:hover::after {
    background-image: url('assets/primary/off-white_arrow.svg');
}
@media(max-width: 1599.98px){
    a.button.secondary,
    button.secondary,
    .wpcf7 input[type="button"],
    .wpcf7 button[type="submit"],
    .wpcf7 input[type="submit"],
    .woocommerce button.secondary,
    :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.secondary {
        font-size: 14px;
        padding: 14.2px 20px !important;
        line-height: 17px;
        margin-right: 10px;
    }
}
@media(max-width: 767.98px) {
    /*** Secondary Buttons ***/
    a.button.secondary,
    button.secondary,
    .wpcf7 input[type="button"],
    .wpcf7 button[type="submit"],
    .wpcf7 input[type="submit"],
    .woocommerce button.secondary,
    :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.secondary {
        padding: 12px 20px!important;
       /*padding-bottom: 11px;*/
        font-size: 14px;
    }
    a.button.secondary::after,
    button.secondary::after,
    .wpcf7 button[type="submit"].secondary::after,
    .wpcf7 input[type="submit"].secondary::after,
    .woocommerce button.secondary::after,
    :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.secondary::after {
        height: 11px;
        width: 17px;
    }
}




/*** Tertiary Buttons ***/
a.button.tertiary,
button.tertiary,
.wpcf7 button[type="submit"].tertiary,
.wpcf7 input[type="submit"].tertiary,
.woocommerce button.tertiary,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.tertiary {
    position: relative;
    padding: 0;
    border: none;
    font-size: 16px;
    font-weight: 400; /* Regular */
    padding-right: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* default color tertiary buttons - if they do not have a specific color class */
    color: var(--deep-cove);
    background-color: transparent;
}
a.button.tertiary::after,
button.tertiary::after,
.wpcf7 button[type="submit"].tertiary::after,
.wpcf7 input[type="submit"].tertiary::after,
.woocommerce button.tertiary::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.tertiary::after {
    content: '';
    display: inline-block;
    height: 13px;
    width: 13px;
    margin-left: 7px;
    position: absolute;
    transform: translateY(-50%);
    top: 45%;
    right: 0;
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    background-image: url('assets/tertiary/deep-cove_arrow.svg');
    transition: ease all 0.3s;
}
a.button.tertiary::before,
button.tertiary::before,
.wpcf7 button[type="submit"].tertiary::before,
.wpcf7 input[type="submit"].tertiary::before,
.woocommerce button.tertiary::before,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.tertiary::before {
    transition: ease all 0.3s;
    content: '';
    display: inline-block;
    height: 1px;
    width: 20px;
    background-color: var(--deep-cove);
    position: absolute;
    transform: translateY(-50%);
    top: 45%;
    right: 0;
}

/*** Hover Styles ***/
a.button.tertiary:hover,
button.tertiary:hover,
.wpcf7 button[type="submit"].tertiary:hover,
.wpcf7 input[type="submit"].tertiary:hover,

.woocommerce button.tertiary:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.tertiary:hover {
    padding-right: 35px;
    transform: scale(1);
}

a.button.tertiary:hover::before,
button.tertiary:hover::before,
.wpcf7 button[type="submit"].tertiary:hover::before,
.wpcf7 input[type="submit"].tertiary:hover::before,

.woocommerce button.tertiary:hover::before,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.tertiary:hover::before {
    width: 26px;
}







/*** back-to Buttons ***/
a.button.back-to,
button.back-to,
.wpcf7 button[type="submit"].back-to,
.wpcf7 input[type="submit"].back-to,
.woocommerce button.back-to,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.back-to {
    position: relative;
    padding: 0;
    border: none;
    font-size: 12px;
    font-weight: 400; /* Regular */
    padding-left: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* default color back-to buttons - if they do not have a specific color class */
    color: var(--deep-cove);
    background-color: transparent;
}
a.button.back-to::after,
button.back-to::after,
.wpcf7 button[type="submit"].back-to::after,
.wpcf7 input[type="submit"].back-to::after,
.woocommerce button.back-to::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.back-to::after {
    content: '';
    display: inline-block;
    height: 11px;
    width: 11px;
    margin-left: 7px;
    position: absolute;
    transform: translateY(-50%);
    top: 45%;
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    background-image: url('assets/tertiary/deep-cove_arrow.svg');
    transition: ease all 0.3s;

    left: -8px;
    right: unset;
    transform: translateY(-50%) rotate(-180deg);
}
a.button.back-to::before,
button.back-to::before,
.wpcf7 button[type="submit"].back-to::before,
.wpcf7 input[type="submit"].back-to::before,
.woocommerce button.back-to::before,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.back-to::before {
    transition: ease all 0.3s;
    content: '';
    display: inline-block;
    height: 1px;
    width: 20px;
    background-color: var(--deep-cove);
    position: absolute;
    transform: translateY(-50%);
    top: 45%;
    left: 0;
}

/*** Hover Styles ***/
a.button.back-to:hover,
button.back-to:hover,
.wpcf7 button[type="submit"].back-to:hover,
.wpcf7 input[type="submit"].back-to:hover,

.woocommerce button.back-to:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.back-to:hover {
    padding-right: 35px;
    transform: scale(1);
}

a.button.back-to:hover::before,
button.back-to:hover::before,
.wpcf7 button[type="submit"].back-to:hover::before,
.wpcf7 input[type="submit"].back-to:hover::before,

.woocommerce button.back-to:hover::before,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.back-to:hover::before {
    width: 26px;
}






/*** Download Buttons ***/
a.button.download,
button.download,
.wpcf7 button[type="submit"].download,
.wpcf7 input[type="submit"].download {
    position: relative;
    padding: 0;
    border: none;
    font-size: 18px;
    font-weight: 400;
    color: var(--deep-cove);
    background-color: transparent;
    margin-bottom: 15px;
}
a.button.download:hover,
button.download:hover,
.wpcf7 button[type="submit"].download:hover,
.wpcf7 input[type="submit"].download:hover {
    transform: scale(0.975);
    opacity: 0.8;
    background-color: transparent;
}
a.button.download::before,
button.download::before,
.wpcf7 button[type="submit"].download::before,
.wpcf7 input[type="submit"].download::before {
    content: '';
    display: inline-block;
    height: 21px;
    width: 21px;
    position: relative;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('assets/download/download.svg');
    transition: ease all 0.3s;
    top: 3px;
    margin-right: 15px;
}





/*** Arrow Buttons ***/
a.button.arrow,
div.button.arrow,
button.arrow {
    display: inline-block;
    font-size: 0;
    padding: 0;
    margin: 0;
    width: 56px;
    height: 56px;
    background-size: 20px 13px;
    background-position: center;
    background-repeat: no-repeat;
    transition: ease all .3s;
    background-color: transparent;
    background-image: url('assets/arrow/deep-cove_arrow.svg');
}
a.button.arrow:hover,
div.button.arrow:hover,
button.arrow:hover {
    transform: scale(1);
    opacity: 0.7;
}






/*** Tag Buttons ***/
a.button.tag,
button.tag,
.wpcf7 button[type="submit"].tag,
.wpcf7 input[type="submit"].tag {
    position: relative;
    padding: 10px 20px;
    margin-right: 15px;
    border: 1px solid var(--mid-grey);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 400; /* Regular */
    line-height: 1.1;
    /* default color tertiary buttons - if they do not have a specific color class */
    color: var(--deep-cove);
    background-color: transparent;
    transition: ease all .3s;
}
a.button.tag.active,
button.tag.active,
.wpcf7 button[type="submit"].tag.active,
.wpcf7 input[type="submit"].tag.active {
    background-color: var(--deep-cove);
    border-color: var(--black);
    color: var(--off-white);
}
a.button.tag:hover,
button.tag:hover,
.wpcf7 button[type="submit"].tag:hover,
.wpcf7 input[type="submit"].tag:hover {
    transform: scale(1);
    background-color: var(--mid-grey);
    border-color: var(--mid-grey);
    cursor: pointer;
    opacity: 0.8;
}
a.button.tag.active:hover,
button.tag.active:hover,
.wpcf7 button[type="submit"].tag.active:hover,
.wpcf7 input[type="submit"].tag.active:hover {
    background-color: var(--deep-cove);
    border-color: var(--deep-cove);
    color: var(--off-white);
}


/*** Tab Buttons ***/
a.button.tab,
button.tab,
.wpcf7 button[type="submit"].tab,
.wpcf7 input[type="submit"].tab {
    position: relative;
    font-family: "miller-display", serif;
    border-radius: 6px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 400; /* Roman */
    /* default color tertiary buttons - if they do not have a specific color class */
    color: var(--deep-cove);
    background-color: transparent;
    transition: ease all .3s;
    opacity: 0.4;
    padding-left: 0;
    white-space: nowrap;
}
a.button.tab.active,
button.tab.active,
.wpcf7 button[type="submit"].tab.active,
.wpcf7 input[type="submit"].tab.active{
    opacity: 1;
}

/* Tab After Underline On Hover */
a.button.tab::after,
button.tab::after,
.wpcf7 button[type="submit"].tab::after,
.wpcf7 input[type="submit"].tab::after {
    content: '';
    display: block;
    height: 1.5px;
    width: 0;
    opacity: 0;
    transition: ease all .4s;
    margin-top: 4px;
    background-color: var(--deep-cove);
}
a.button.tab.active::after,
button.tab.active::after,
.wpcf7 button[type="submit"].tab.active::after,
.wpcf7 input[type="submit"].tab.active::after {
    opacity: 1;
    width: 100%;
}







/*** DISABLED STATES ***/
/* Primary Disabled */
a.button.primary.disabled,
a.button.primary.disabled:hover,

button.primary.disabled,
button.primary.disabled:hover,

.wpcf7 button[type="submit"]:disabled,
.wpcf7 button[type="submit"]:disabled:hover,

.wpcf7 input[type="submit"]:disabled,
.wpcf7 input[type="submit"]:disabled:hover {
    color: #B1B1B1;
    background-color: #E5E5E5;
    border-color: #E5E5E5;
    transform: scale(1);
}

/* Secondary Disabled */
a.button.secondary.disabled,
a.button.secondary.disabled:hover,

button.secondary.disabled,
button.secondary.disabled:hover {
    color: #B1B1B1;
    background-color: #E5E5E5;
    border-color: #E5E5E5;
    transform: scale(1);
}

/* Tertiary Disabled */
a.button.tertiary.disabled,
a.button.tertiary.disabled:hover,

button.tertiary.disabled,
button.tertiary.disabled:hover {
    color: #B1B1B1;
    transform: scale(1);
}
a.button.tertiary.disabled:before,
button.tertiary.disabled:before {
    background-color: #b1b1b1;
}
a.button.tertiary.disabled:after,
button.tertiary.disabled:after {
    background-image: url('assets/tertiary/disabled_arrow.svg');
}

/* Download Disabled */
a.button.download.disabled,
a.button.download.disabled:hover {
    color: #B1B1B1;
    transform: scale(1);
}
a.button.download.disabled:after {
    background-image: url('assets/download/download_disabled.svg');
}

/* Arrow Disabled */
a.button.arrow.disabled {
    border-color: #E5E5E5;
    background-color: #E5E5E5;
    background-image: url('assets/arrow/disabled_arrow.svg');
}
a.button.arrow.disabled:hover {
    transform: scale(1);
    opacity: 1;
}