.elementor-widget-dsew-design-studio.dsew-floating-yes {
	position: fixed;
	z-index: 99999;
	width: auto !important;
	max-width: calc(100vw - 32px);
	pointer-events: none;
}

.elementor-widget-dsew-design-studio .elementor-widget-container {
	pointer-events: auto;
}

.dsew-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

/* ---------------------------------------------------------------
 * Minimised tab
 * The tab and the card never show at the same time, so they share
 * the same anchored spot without any extra positioning.
 * ------------------------------------------------------------- */

.dsew-tab {
	display: none;
	align-items: center;
	gap: 9px;
	max-width: 100%;
	margin: 0;
	padding: 13px 20px;
	border: 0;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: 0 10px 28px rgba(0,0,0,.18);
	transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.dsew-wrap.dsew-is-minimised .dsew-tab {
	display: inline-flex;
	animation: dsew-tab-in .3s ease both;
}

/* Returning visitors land already minimised - no entrance animation. */
.dsew-wrap.dsew-no-anim .dsew-tab {
	animation: none;
}

.dsew-tab:hover {
	background: #333;
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(0,0,0,.22);
}

.dsew-tab:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.dsew-tab-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.dsew-tab-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.dsew-tab-text {
	display: inline-block;
}

@keyframes dsew-tab-in {
	from { opacity: 0; transform: translateY(10px) scale(.94); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

.dsew-wrap.dsew-is-minimised .dsew-card {
	display: none;
}

.dsew-card {
	position: relative;
	max-width: calc(100vw - 32px);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(18px);
	transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 12px 35px rgba(0,0,0,.16);
}

.dsew-card.dsew-is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dsew-card.dsew-is-closed {
	display: none;
}

.dsew-image {
	width: 100%;
	overflow: hidden;
}

.dsew-image img {
	display: block;
	width: 100%;
	height: 190px;
	object-fit: cover;
}

.dsew-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 22px 24px 24px;
}

.dsew-heading {
	margin: 0;
	color: #1a1a1a;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.3px;
}

.dsew-description,
.dsew-description p {
	margin: 0;
	color: #5c5c5c;
	font-size: 15px;
	line-height: 1.55;
}

.dsew-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	text-decoration: none !important;
	background: #111;
	color: #fff;
	padding: 13px 18px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.dsew-button:hover {
	background: #333;
	color: #fff;
	transform: translateY(-1px);
}

.dsew-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.dsew-button-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.dsew-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: #1a1a1a;
	font: inherit;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0,0,0,.12);
	transition: transform .2s ease, opacity .2s ease;
}

.dsew-close:hover {
	transform: scale(1.05);
}

@media (max-width: 767px) {
	.elementor-widget-dsew-design-studio.dsew-floating-yes {
		right: 16px !important;
		bottom: 16px !important;
		left: 16px;
		max-width: none;
	}

	.elementor-widget-dsew-design-studio.dsew-floating-yes .dsew-card {
		width: 100% !important;
		max-width: 100%;
	}

	/* The card goes full width on mobile; the tab should not. */
	.dsew-tab {
		max-width: calc(100vw - 32px);
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.dsew-image img {
		height: 150px;
	}

	.dsew-content {
		padding: 18px 18px 20px;
	}

	.dsew-heading {
		font-size: 22px;
	}

	.dsew-description,
	.dsew-description p {
		font-size: 14px;
		line-height: 1.5;
	}

	.dsew-button {
		width: 100%;
	}
}
