/* ==========================================================
   Professional Header CTA Buttons for logymed.com.co
   --------------------------------------------------------------
   Overrides Flatsome default header buttons with a polished
   gradient, shine, and hover-lift design.
   ========================================================== */

/* ---- 1. Reset Flatsome's default .header-button wrapping ---- */
.header-button-1,
.header-button-2 {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
	align-items: center;
}

.header-button-1 .header-button,
.header-button-2 .header-button {
	margin: 0;
	padding: 0;
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

/* ---- 2. Base button (shared by both register & deposit) ---- */
.lm-pro-btn {
	--lm-pro-radius: 12px;
	--lm-pro-pad-y: 11px;
	--lm-pro-pad-x: 18px;
	--lm-pro-gap: 10px;
	--lm-pro-font-size: 13.5px;
	--lm-pro-font-weight: 700;
	--lm-pro-letter-spacing: 0.4px;

	position: relative;
	display: inline-flex;
	align-items: center;
	gap: var(--lm-pro-gap);
	padding: var(--lm-pro-pad-y) var(--lm-pro-pad-x);
	border-radius: var(--lm-pro-radius);
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: var(--lm-pro-font-size);
	font-weight: var(--lm-pro-font-weight);
	letter-spacing: var(--lm-pro-letter-spacing);
	line-height: 1;
	text-decoration: none !important;
	color: #fff !important;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	white-space: nowrap;
	transition:
		transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
		box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
		filter 0.28s ease;
	-webkit-tap-highlight-color: transparent;
}

/* ---- 3. Animated shine sweep ---- */
.lm-pro-btn__shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		transparent 25%,
		rgba(255, 255, 255, 0.45) 50%,
		transparent 75%
	);
	transform: translateX(-120%);
	transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
	z-index: 1;
}

.lm-pro-btn:hover .lm-pro-btn__shine,
.lm-pro-btn:focus-visible .lm-pro-btn__shine {
	transform: translateX(120%);
}

/* ---- 4. Icon / arrow / body structure ---- */
.lm-pro-btn__icon,
.lm-pro-btn__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 2;
}

.lm-pro-btn__body {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	z-index: 2;
}

.lm-pro-btn__label {
	font-weight: var(--lm-pro-font-weight);
	text-transform: uppercase;
}

.lm-pro-btn__bonus {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2px;
	padding: 3px 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
	line-height: 1;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Arrow nudge on hover */
.lm-pro-btn:hover .lm-pro-btn__arrow,
.lm-pro-btn:focus-visible .lm-pro-btn__arrow {
	transform: translateX(3px);
}

/* ---- 5. Register button (red/gold) ---- */
.lm-pro-btn--register {
	background:
		linear-gradient(
			135deg,
			#ff3a3a 0%,
			#e10a0a 45%,
			#b80000 100%
		);
	box-shadow:
		0 4px 14px rgba(225, 10, 10, 0.42),
		0 1px 0 rgba(255, 255, 255, 0.25) inset,
		0 -2px 0 rgba(0, 0, 0, 0.18) inset;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.lm-pro-btn--register::before {
	/* Subtle inner highlight */
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.18) 0%,
		transparent 50%
	);
	pointer-events: none;
	z-index: 1;
}

.lm-pro-btn--register:hover,
.lm-pro-btn--register:focus-visible {
	transform: translateY(-2px);
	box-shadow:
		0 10px 24px rgba(225, 10, 10, 0.55),
		0 2px 0 rgba(255, 255, 255, 0.3) inset,
		0 -2px 0 rgba(0, 0, 0, 0.2) inset;
	filter: brightness(1.05);
}

.lm-pro-btn--register:active {
	transform: translateY(0);
	box-shadow:
		0 3px 10px rgba(225, 10, 10, 0.45),
		0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

/* ---- 6. Deposit button (gold/amber) ---- */
.lm-pro-btn--deposit {
	background:
		linear-gradient(
			135deg,
			#ffc933 0%,
			#f5a300 50%,
			#d97e00 100%
	);
	color: #2a1500 !important;
	box-shadow:
		0 4px 14px rgba(217, 126, 0, 0.45),
		0 1px 0 rgba(255, 255, 255, 0.45) inset,
		0 -2px 0 rgba(120, 60, 0, 0.25) inset;
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.lm-pro-btn--deposit::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.35) 0%,
		transparent 55%
	);
	pointer-events: none;
	z-index: 1;
}

.lm-pro-btn--deposit .lm-pro-btn__bonus {
	background: rgba(42, 21, 0, 0.18);
	color: #2a1500;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.25);
}

.lm-pro-btn--deposit:hover,
.lm-pro-btn--deposit:focus-visible {
	transform: translateY(-2px);
	box-shadow:
		0 10px 24px rgba(217, 126, 0, 0.6),
		0 2px 0 rgba(255, 255, 255, 0.55) inset,
		0 -2px 0 rgba(120, 60, 0, 0.3) inset;
	filter: brightness(1.06);
}

.lm-pro-btn--deposit:active {
	transform: translateY(0);
	box-shadow:
		0 3px 10px rgba(217, 126, 0, 0.5),
		0 1px 0 rgba(255, 255, 255, 0.45) inset;
}

/* ---- 7. Focus ring (accessibility) ---- */
.lm-pro-btn:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.6);
	outline-offset: 2px;
}

/* ---- 8. Tighten the gap between the two buttons ---- */
.header-nav .nav > li.header-button-1 + li.header-button-2,
.header-main .nav > li.header-button-1 + li.header-button-2 {
	margin-left: 6px;
}

/* Hide the divider between the two buttons (we use spacing instead) */
.header-main .header-button-1 + .header-divider,
.header-nav .header-button-1 + .header-divider {
	display: none !important;
}

/* ---- 9. Responsive: tablet ---- */
@media (max-width: 1024px) {
	.lm-pro-btn {
		--lm-pro-pad-y: 9px;
		--lm-pro-pad-x: 14px;
		--lm-pro-gap: 8px;
		--lm-pro-font-size: 12.5px;
	}
	.lm-pro-btn__bonus {
		font-size: 10.5px;
		padding: 2px 6px;
	}
}

/* ---- 10. Responsive: mobile ---- */
@media (max-width: 640px) {
	.lm-pro-btn {
		--lm-pro-pad-y: 10px;
		--lm-pro-pad-x: 14px;
		--lm-pro-gap: 8px;
		--lm-pro-font-size: 12px;
		--lm-pro-radius: 10px;
	}
	.lm-pro-btn__arrow {
		display: none;
	}
	.lm-pro-btn__icon {
		transform: scale(0.95);
	}
	.lm-pro-btn__bonus {
		font-size: 10px;
		padding: 2px 6px;
	}
}
