.vred-btn-widget {
	display: flex;
	width: 100%;
	justify-content: flex-start;
}

.vred-btn-widget--position-center .vred-btn-widget {
	justify-content: center;
}

.vred-btn-widget--position-right .vred-btn-widget {
	justify-content: flex-end;
}

.vred-btn-widget--position-justified .vred-btn-widget {
	justify-content: stretch;
}

.vred-btn-widget--position-justified .vred-btn {
	width: 100%;
}

.vred-btn {
	--vred-btn-text-color: #ffffff;
	--vred-btn-icon-color: currentColor;
	--vred-btn-background-color: #111111;
	--vred-btn-border-color: transparent;
	--vred-btn-hover-text-color: var(--vred-btn-text-color);
	--vred-btn-hover-icon-color: var(--vred-btn-hover-text-color);
	--vred-btn-hover-background-color: linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), var(--vred-btn-background-color);
	--vred-btn-hover-border-color: var(--vred-btn-border-color);
	--vred-btn-gap: 10px;
	--vred-btn-icon-size: 1em;
	--vred-btn-hover-duration: 450ms;
	--vred-btn-hover-timing: ease-in-out;
	--vred-hover-effect-background: var(--vred-btn-hover-background-color);
	--vred-hover-effect-duration: var(--vred-btn-hover-duration);
	--vred-hover-effect-timing: var(--vred-btn-hover-timing);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	overflow: hidden;
	min-height: 44px;
	padding: 12px 24px;
	border: 1px solid var(--vred-btn-border-color);
	background: var(--vred-btn-background-color);
	color: var(--vred-btn-text-color);
	cursor: pointer;
	isolation: isolate;
	text-decoration: none;
	vertical-align: middle;
	transition:
		color var(--vred-btn-hover-duration) var(--vred-btn-hover-timing),
		background-color var(--vred-btn-hover-duration) var(--vred-btn-hover-timing),
		border-color var(--vred-btn-hover-duration) var(--vred-btn-hover-timing),
		box-shadow var(--vred-btn-hover-duration) var(--vred-btn-hover-timing),
		transform var(--vred-btn-hover-duration) var(--vred-btn-hover-timing);
}

/* Desactiva TODAS las transiciones del botón y sus capas internas en el primer render */
.vred-btn--no-trans,
.vred-btn--no-trans *,
.vred-btn--no-trans .vred-btn__overlay {
	transition: none !important;
}

.vred-btn:hover,
.vred-btn:focus-visible {
	color: var(--vred-btn-hover-text-color);
	border-color: var(--vred-btn-hover-border-color);
	text-decoration: none;
}

.vred-btn:is(.vred-btn--effect-none, .vred-btn--effect-lift-up):hover,
.vred-btn:is(.vred-btn--effect-none, .vred-btn--effect-lift-up):focus-visible {
	background: var(--vred-btn-hover-background-color);
}

.vred-btn:is(.vred-btn--effect-fill-ltr, .vred-btn--effect-fill-rtl, .vred-btn--effect-fill-center, .vred-btn--effect-bounce-ltr, .vred-btn--effect-bounce-rtl):is(:hover, :focus, :focus-visible, :active) {
	background-color: var(--vred-btn-background-color);
}

.vred-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.vred-btn--static {
	cursor: default;
}

.vred-btn__content {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--vred-btn-gap);
	max-width: 100%;
	text-align: center;
}

.vred-btn__icon {
	position: relative;
	z-index: 2;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	color: var(--vred-btn-icon-color);
	font-size: var(--vred-btn-icon-size);
	line-height: 1;
	transition: color var(--vred-btn-hover-duration) var(--vred-btn-hover-timing);
}

.vred-btn:hover .vred-btn__icon,
.vred-btn:focus-visible .vred-btn__icon {
	color: var(--vred-btn-hover-icon-color);
}

.vred-btn__icon i {
	font-size: inherit;
}

.vred-btn__icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.vred-btn__text {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.vred-btn .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	white-space: nowrap;
}

@media (min-width: 1025px) {
	.vred-btn.vred-btn--hide-text-desktop .vred-btn__text {
		display: none
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.vred-btn.vred-btn--hide-text-tablet .vred-btn__text {
		display: none
	}
}

@media (max-width: 767px) {
	.vred-btn.vred-btn--hide-text-mobile .vred-btn__text {
		display: none
	}
}


.vred-btn--full-width {
	display: flex;
	width: 100%;
}

.vred-btn--full-width .vred-btn__content {
	width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.vred-btn,
	.vred-btn__icon,
	.vred-btn__overlay,
	.vred-btn__text {
		transition-duration: 1ms !important;
		animation-duration: 1ms !important;
	}
}
