/* =============================================
   Gradient Buttons Widget — Frontend Styles
   ============================================= */

.gbw-buttons-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.gbw-buttons-wrap.layout-column {
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: flex-start;
}

.gbw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 50px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: 0.01em;
	transition: opacity 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
	position: relative;
	overflow: hidden;
	white-space: nowrap;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

/* Shine sweep on hover */
.gbw-btn::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
	transform: translateX(-100%);
	transition: transform 0.45s ease;
	pointer-events: none;
}

.gbw-btn:hover::after {
	transform: translateX(100%);
}

.gbw-btn:hover {
	opacity: 0.88;
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
	color: #fff;
	text-decoration: none;
}

.gbw-btn:active {
	transform: translateY(0);
	opacity: 1;
}

.gbw-btn:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.7);
	outline-offset: 2px;
}

.gbw-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.gbw-btn-icon svg,
.gbw-btn-icon i {
	display: block;
}

.gbw-btn-text {
	display: inline;
}
