.pym-jdb-buttons,
.pym-jdb-buttons * {
	box-sizing: border-box;
}

.pym-jdb-buttons {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	width: 100%;
	margin: 18px 0;
}

.pym-jdb-buttons--column {
	flex-direction: column;
	align-items: stretch;
}

.pym-jdb-buttons--align-center { justify-content: center; }
.pym-jdb-buttons--align-end { justify-content: flex-end; }
.pym-jdb-buttons--align-stretch,
.pym-jdb-buttons--equal { align-items: stretch; }

.pym-jdb-buttons--align-stretch .pym-jdb-button,
.pym-jdb-buttons--equal .pym-jdb-button {
	flex: 1 1 180px;
}

.pym-jdb-buttons--column .pym-jdb-button,
.pym-jdb-button--full {
	width: 100%;
}

.pym-jdb-button--full {
	flex: 1 1 100% !important;
}

.pym-jdb-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 12px 20px;
	border: 1px solid transparent;
	border-radius: 12px;
	background-color: #2563eb;
	box-shadow: 0 10px 24px rgba(37, 99, 235, .20);
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.pym-jdb-button:hover,
.pym-jdb-button:focus-visible {
	background-color: #1d4ed8;
	box-shadow: 0 14px 30px rgba(37, 99, 235, .28);
	color: #fff;
	text-decoration: none !important;
	transform: translateY(-2px);
}

/* Presets intentionally use !important so a per-button choice can override
   global Elementor widget styling without changing sibling buttons. */
.pym-jdb-button--preset-primary {
	border-color: #2563eb !important;
	background-color: #2563eb !important;
	box-shadow: 0 10px 24px rgba(37, 99, 235, .20) !important;
	color: #fff !important;
}
.pym-jdb-button--preset-primary:hover,
.pym-jdb-button--preset-primary:focus-visible {
	border-color: #1d4ed8 !important;
	background-color: #1d4ed8 !important;
	box-shadow: 0 14px 30px rgba(37, 99, 235, .28) !important;
	color: #fff !important;
}

.pym-jdb-button--preset-outline {
	border-color: #2563eb !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: #2563eb !important;
}
.pym-jdb-button--preset-outline:hover,
.pym-jdb-button--preset-outline:focus-visible {
	border-color: #2563eb !important;
	background-color: #2563eb !important;
	box-shadow: none !important;
	color: #fff !important;
}

.pym-jdb-button--preset-soft {
	border-color: #bfdbfe !important;
	background-color: #eff6ff !important;
	box-shadow: 0 6px 18px rgba(37, 99, 235, .10) !important;
	color: #1d4ed8 !important;
}
.pym-jdb-button--preset-soft:hover,
.pym-jdb-button--preset-soft:focus-visible {
	border-color: #93c5fd !important;
	background-color: #dbeafe !important;
	box-shadow: 0 10px 24px rgba(37, 99, 235, .16) !important;
	color: #1e40af !important;
}

.pym-jdb-button--preset-dark {
	border-color: #111827 !important;
	background-color: #111827 !important;
	box-shadow: 0 10px 24px rgba(3, 7, 18, .22) !important;
	color: #fff !important;
}
.pym-jdb-button--preset-dark:hover,
.pym-jdb-button--preset-dark:focus-visible {
	border-color: #030712 !important;
	background-color: #030712 !important;
	box-shadow: 0 14px 30px rgba(3, 7, 18, .30) !important;
	color: #fff !important;
}

.pym-jdb-button--preset-success {
	border-color: #16a34a !important;
	background-color: #16a34a !important;
	box-shadow: 0 10px 24px rgba(22, 163, 74, .18) !important;
	color: #fff !important;
}
.pym-jdb-button--preset-success:hover,
.pym-jdb-button--preset-success:focus-visible {
	border-color: #15803d !important;
	background-color: #15803d !important;
	box-shadow: 0 14px 30px rgba(21, 128, 61, .25) !important;
	color: #fff !important;
}

.pym-jdb-button--preset-danger {
	border-color: #dc2626 !important;
	background-color: #dc2626 !important;
	box-shadow: 0 10px 24px rgba(220, 38, 38, .18) !important;
	color: #fff !important;
}
.pym-jdb-button--preset-danger:hover,
.pym-jdb-button--preset-danger:focus-visible {
	border-color: #b91c1c !important;
	background-color: #b91c1c !important;
	box-shadow: 0 14px 30px rgba(185, 28, 28, .25) !important;
	color: #fff !important;
}

.pym-jdb-button--size-small {
	min-height: 38px !important;
	padding: 8px 14px !important;
	font-size: 12px !important;
	gap: 6px !important;
}
.pym-jdb-button--size-medium {
	min-height: 46px !important;
	padding: 12px 20px !important;
	font-size: 14px !important;
	gap: 8px !important;
}
.pym-jdb-button--size-large {
	min-height: 56px !important;
	padding: 15px 28px !important;
	font-size: 16px !important;
	gap: 10px !important;
}

.pym-jdb-button--custom-hover-text:hover,
.pym-jdb-button--custom-hover-text:focus-visible {
	color: var(--pym-jdb-custom-hover-text) !important;
}
.pym-jdb-button--custom-hover-bg:hover,
.pym-jdb-button--custom-hover-bg:focus-visible {
	border-color: var(--pym-jdb-custom-hover-bg) !important;
	background-color: var(--pym-jdb-custom-hover-bg) !important;
}

.pym-jdb-button--icon-after { flex-direction: row-reverse; }

.pym-jdb-button:focus { outline: none; }
.pym-jdb-button:focus-visible {
	outline: 3px solid rgba(37, 99, 235, .32);
	outline-offset: 3px;
}

.pym-jdb-button__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	line-height: 0;
}
.pym-jdb-button__icon:empty { display: none; }
.pym-jdb-button__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}
.pym-jdb-button__text { min-width: 0; }

.pym-jdb-elementor-placeholder {
	padding: 16px 18px;
	border: 1px dashed #94a3b8;
	border-radius: 10px;
	background: #f8fafc;
	color: #475569;
	font-size: 13px;
	line-height: 1.8;
	text-align: center;
}

@media (max-width: 767px) {
	.pym-jdb-buttons { gap: 10px; }
	.pym-jdb-buttons--auto .pym-jdb-button,
	.pym-jdb-button--mobile-full {
		flex: 1 1 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pym-jdb-button { transition: none; }
	.pym-jdb-button:hover,
	.pym-jdb-button:focus-visible { transform: none !important; }
}

/* Backward-compatible presets saved by versions 1.1–1.3. */
.pym-jdb-button--preset-secondary {
	border-color: #475569 !important;
	background-color: #475569 !important;
	box-shadow: 0 10px 24px rgba(71, 85, 105, .18) !important;
	color: #fff !important;
}
.pym-jdb-button--preset-secondary:hover,
.pym-jdb-button--preset-secondary:focus-visible {
	border-color: #334155 !important;
	background-color: #334155 !important;
	color: #fff !important;
}
.pym-jdb-button--preset-light {
	border-color: #cbd5e1 !important;
	background-color: #fff !important;
	box-shadow: 0 6px 18px rgba(15, 23, 42, .08) !important;
	color: #0f172a !important;
}
.pym-jdb-button--preset-light:hover,
.pym-jdb-button--preset-light:focus-visible {
	border-color: #94a3b8 !important;
	background-color: #f8fafc !important;
	color: #0f172a !important;
}
.pym-jdb-button--preset-warning {
	border-color: #f59e0b !important;
	background-color: #f59e0b !important;
	box-shadow: 0 10px 24px rgba(245, 158, 11, .20) !important;
	color: #111827 !important;
}
.pym-jdb-button--preset-warning:hover,
.pym-jdb-button--preset-warning:focus-visible {
	border-color: #d97706 !important;
	background-color: #d97706 !important;
	color: #111827 !important;
}
