/* Module button variants (fill / outline × default / white / black).
   Shared by hero, banner, and future modules via digifox_module_button_class(). */

.button.button--fill,
.button.button--outline {
	border-width: 2px !important;
	border-style: solid;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.button.button--fill:hover,
.button.button--fill:focus-visible,
.button.button--outline:hover,
.button.button--outline:focus-visible {
	transform: translateY(-1px);
}

.button.button--outline.button--default {
	background-color: transparent !important;
	border-color: var(--digifox-button-border) !important;
	color: var(--digifox-button-border) !important;
}

.button.button--outline.button--default:hover,
.button.button--outline.button--default:focus-visible {
	background-color: var(--digifox-button-border) !important;
	border-color: var(--digifox-button-border) !important;
	color: var(--digifox-button-text) !important;
}

.button.button--fill.button--white {
	background-color: #ffffff !important;
	border-color: #ffffff !important;
	color: #000000 !important;
}

.button.button--fill.button--white:hover,
.button.button--fill.button--white:focus-visible {
	background-color: #000000 !important;
	border-color: #ffffff !important;
	color: #ffffff !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.button.button--outline.button--white {
	background-color: transparent !important;
	border-color: #ffffff !important;
	color: #ffffff !important;
}

.button.button--outline.button--white:hover,
.button.button--outline.button--white:focus-visible {
	background-color: #ffffff !important;
	border-color: #ffffff !important;
	color: #000000 !important;
}

.button.button--fill.button--black {
	background-color: #000000 !important;
	border-color: #000000 !important;
	color: #ffffff !important;
}

.button.button--fill.button--black:hover,
.button.button--fill.button--black:focus-visible {
	background-color: #ffffff !important;
	border-color: #000000 !important;
	color: #000000 !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.button.button--outline.button--black {
	background-color: transparent !important;
	border-color: #000000 !important;
	color: #000000 !important;
}

.button.button--outline.button--black:hover,
.button.button--outline.button--black:focus-visible {
	background-color: #000000 !important;
	border-color: #000000 !important;
	color: #ffffff !important;
}
