/*** 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 button.primary,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.primary,

.woocommerce a.added_to_cart,
a.added_to_cart,
:where(body:not(.woocommerce-block-theme-has-button-styles)) a.added_to_cart,

.woocommerce button.secondary,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.secondary,

.woocommerce button.tertiary,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.tertiary,

.woocommerce button.download,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.download,

.woocommerce button.tag,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.tag,

.woocommerce button.tab,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.tab,

.woocommerce .order-again a.button.order-again-button,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce .order-again a.button.order-again-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: 15px;
    margin-bottom: 10px;
    white-space: normal;
}
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 {
    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 .order-again a.button.order-again-button,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce .order-again a.button.order-again-button {
    position: relative;
    padding: 15px 30px;
    border-radius: 5px;
    border-width: 2px;
    border-style: solid;
    font-size: 18px;
    font-weight: 700; /* bold */
    /* default color buttons (primary and other buttons) - if they do not have a specific color class */
    color: var(--white);
    background-color: var(--text-black);
    border-color: var(--text-black);
}
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 .order-again a.button.order-again-button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce .order-again a.button.order-again-button:hover {
    transform: scale(1);
    color: var(--text-black);
    background-color: transparent;
    border-color: var(--text-black);
    outline: none;
}
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 .order-again a.button.order-again-button:focus,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce .order-again a.button.order-again-button:focus {
    outline: none;
}




/*** 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,

.woocommerce a.added_to_cart,
a.added_to_cart,
:where(body:not(.woocommerce-block-theme-has-button-styles)) a.added_to_cart {
    position: relative;
    padding: 15px 30px;
    border-radius: 5px;
    border-width: 2px;
    border-style: solid;
    font-size: 18px;
    font-weight: 700; /* bold */
    /* default color secondary buttons - if they do not have a specific color class */
    background-color: transparent;
    border-color: var(--dark);
    color: var(--dark);
}
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,

.woocommerce a.added_to_cart:hover,
a.added_to_cart:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) a.added_to_cart:hover {
    transform: scale(1);
    background-color: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}


.product-card-inner a.added_to_cart,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .product-card-inner a.added_to_cart {
    margin: 0 20px 20px;
    margin-top: -10px;
}

@media(max-width: 575.98px){
    .product-card-inner a.added_to_cart, :where(body:not(.woocommerce-block-theme-has-button-styles)) .product-card-inner a.added_to_cart {
        margin: 5px;
         margin-top: 0px;
        padding: 6px;
        font-size: 16px;
    }
}




/*** 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: 20px;
    font-weight: 600; /* SemiBold */
    padding-right: 22px;
    /* default color tertiary buttons - if they do not have a specific color class */
    color: var(--black);
    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: 15px;
    width: 15px;
    margin-left: 7px;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    right: 0;
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    background-image: url('assets/tertiary/dark_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: 1.5px;
    width: 15px;
    background-color: var(--black);
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    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: 30px;
    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: 23px;
}

/*** Download Buttons ***/
a.button.download,
button.download,
.wpcf7 button[type="submit"].download,
.wpcf7 input[type="submit"].download,

.woocommerce button.download,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.download {
    position: relative;
    padding: 0;
    border: none;
    font-size: 20px;
    font-weight: 600; /* medium */
    /* default color tertiary buttons - if they do not have a specific color class */
    color: var(--text-black);
}
a.button.download:hover,
button.download:hover,
.wpcf7 button[type="submit"].download:hover,
.wpcf7 input[type="submit"].download:hover,

.woocommerce button.download:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.download:hover {
    transform: scale(1);
}
a.button.download::after,
button.download::after,
.wpcf7 button[type="submit"].download::after,
.wpcf7 input[type="submit"].download::after,

.woocommerce button.download::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.download::after {
    content: '';
    display: inline-block;
    height: 20px;
    width: 20px;
    margin-left: 8px;
    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;
}






/*** Arrow Buttons ***/
a.button.arrow,
div.button.arrow,
button.arrow {
    display: inline-block;
    font-size: 0;
    padding: 0;
    margin: 0;
    height: 56px;
    width: 56px;
    border-style: solid;
    border-width: 2px;
    border-radius: 50%;
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;

    border-color: var(--brand);
    background-color: var(--brand);
    background-image: url('assets/arrow/white_arrow.svg');
}
a.button.arrow:hover,
div.button.arrow:hover,
button.arrow {
    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;
    line-height: 1.2;
    font-weight: 400; /* Regular */
    /* default color tertiary buttons - if they do not have a specific color class */
    color: var(--black);
    background-color: var(--white);
    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(--dark);
    border-color: var(--dark);
    color: var(--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(--dark);
    border-color: var(--dark);
    color: var(--white);
    cursor: pointer;
}
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(--dark);
    border-color: var(--dark);
    color: var(--white);
}


/*** Tab Buttons ***/
a.button.tab,
button.tab,
.wpcf7 button[type="submit"].tab,
.wpcf7 input[type="submit"].tab {
    position: relative;
    border-radius: 6px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600; /* Medium */
    /* default color tertiary buttons - if they do not have a specific color class */
    color: var(--dark);
    background-color: transparent;
    transition: ease all .3s;
    opacity: 1;
    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: 2px;
    width: 0;
    opacity: 0;
    transition: ease all .4s;
    margin-top: 5px;
    background-color: var(--dark);
}
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 {
    color: #B1B1B1;
    transform: scale(1);
}
a.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;
}