.dshp-popup-open {
	overflow: hidden;
}

.dshp-popup-root {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.dshp-popup-root .dshp-popup-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
}

.dshp-popup-root .dshp-popup-modal {
	position: relative;
	z-index: 2;
	max-width: 980px;
	margin: 6vh auto;
	max-height: 88vh;
	overflow: auto;
	border-radius: 12px;
	padding: 24px;
	background: #fff;
	color: #131313;
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.dshp-popup-root .dshp-popup-modal.blue-bg {
	background: #0050ff;
	color: #fff !important;
}

/* Scroller */
.dshp-popup-modal::-webkit-scrollbar {
	width: 10px;
}
.dshp-popup-modal::-webkit-scrollbar-track {
	box-shadow: inset 0 0 5px grey;
	border-radius: 12px;
	margin: 5px 0;
}
.dshp-popup-modal::-webkit-scrollbar-thumb {
	background: #0050ff;
	box-shadow: inset 0 0 5px grey;
	border-radius: 10px;
}
.dshp-popup-modal::-webkit-scrollbar-thumb:hover {
	background: #0050ff;
	box-shadow: inset 0 0 5px grey;
}

.dshp-popup-modal.blue-bg::-webkit-scrollbar-thumb {
	background: #00008c;
	box-shadow: inset 0 0 5px grey;
}

.dshp-popup-modal.blue-bg::-webkit-scrollbar-thumb:hover {
	background: #00008c;
	box-shadow: inset 0 0 5px grey;
}



.dshp-popup-root .dshp-popup-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.dshp-popup-root .dshp-popup-title {
	margin: 0;
	line-height: 1.2;
	font-size: 30px;
}

.dshp-popup-root .dshp-popup-content > *:first-child {
	margin-top: 0;
}

.dshp-popup-root .dshp-popup-modal.blue-bg .dshp-popup-content h4,
.dshp-popup-root .dshp-popup-modal.blue-bg .dshp-popup-content h3,
.dshp-popup-root .dshp-popup-modal.blue-bg .dshp-popup-content h2,
.dshp-popup-root .dshp-popup-modal.blue-bg .dshp-popup-content h1,
.dshp-popup-root .dshp-popup-modal.blue-bg .dshp-popup-content h5,
.dshp-popup-root .dshp-popup-modal.blue-bg .dshp-popup-content h6,
.dshp-popup-root .dshp-popup-modal.blue-bg .dshp-popup-content p,
.dshp-popup-root .dshp-popup-modal.blue-bg .dshp-popup-content a {
	color: #fff;
}

.dshp-popup-root .dshp-popup-modal.blue-bg .dshp-popup-content a {
	text-decoration: underline;
}

.dshp-popup-root .dshp-popup-modal.blue-bg .dshp-popup-content a:hover {
	color: #00008c;
	text-decoration: underline;
}

.dshp-popup-root.theme-dark .dshp-popup-modal {
	background: #131313;
	color: #f6f6f6;
}

.dshp-popup-root .dshp-popup-close {
	position: relative;
	z-index: 3;
	top: auto;
	right: auto;
	border: 0;
	width: 30px;
	height: 30px;
	flex: 0 0 auto;
	border-radius: 100%;
	background: rgba(255, 255, 255, 0.95);
	color: #111;
	font-size: 24px;
	cursor: pointer;
	display: flex;
    align-items: center;
    justify-content: center;
	padding: 0;
	margin-left: auto;
	padding-bottom: 4px;
	background-color: #0050ff;
	color: #fff;
}

.dshp-popup-root .dshp-popup-modal.blue-bg .dshp-popup-close {
	background-color: #b4b4be;
}

.dshp-popup-root .dshp-popup-modal.blue-bg .dshp-popup-close:hover {
	background-color: #fff;
	color: #0050ff;
}

.dshp-popup-root .dshp-popup-close:hover {
	color: #fff;
	background-color: #00008c;
}

.dshp-popup-root .dshp-popup-heading {
	margin-top: 0;
}

.dshp-popup-root .dshp-popup-rich-content table {
	width: 100%;
	border-collapse: collapse;
}

.dshp-popup-root .dshp-popup-rich-content table th,
.dshp-popup-root .dshp-popup-rich-content table td {
	border: 1px solid #d9d9d9;
	padding: 8px;
}

.dshp-popup-root .dshp-popup-cards {
	margin-top: 18px;
}

.dshp-popup-root .dshp-popup-cards__viewport {
	overflow: hidden;
}

.dshp-popup-root .dshp-popup-cards__track {
	display: grid;
	grid-template-columns: repeat(var(--dshp-popup-columns, 3), minmax(0, 1fr));
	gap: 14px;
}

.dshp-popup-root .dshp-popup-cards.is-carousel .dshp-popup-cards__viewport {
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
}

.dshp-popup-root .dshp-popup-cards.is-carousel .dshp-popup-cards__track {
	display: flex;
	flex-wrap: nowrap;
	gap: 14px;
}

.dshp-popup-root .dshp-popup-cards.is-carousel .dshp-popup-card {
	min-width: calc((100% - (14px * (var(--dshp-popup-columns, 1) - 1))) / var(--dshp-popup-columns, 1));
	scroll-snap-align: start;
}

.dshp-popup-root .dshp-popup-card {
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 14px;
	background: #fafafa;
}

.dshp-popup-root.theme-dark .dshp-popup-card {
	background: #1b1b1b;
	border-color: #3d3d3d;
}

.dshp-popup-root .dshp-popup-card__ribbon {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 999px;
	background: #0a62a4;
	color: #fff;
	font-size: 12px;
	margin-bottom: 8px;
}

.dshp-popup-root .dshp-popup-card__image {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
	margin-bottom: 8px;
}

.dshp-popup-root .dshp-popup-card__title {
	margin: 0 0 8px;
}

.dshp-popup-root .dshp-popup-cards__controls {
	display: flex;
	gap: 8px;
	margin-top: 10px;
}

.dshp-popup-root .dshp-popup-cards__arrow {
	border: 1px solid #999;
	background: #fff;
	min-width: 34px;
	min-height: 34px;
	cursor: pointer;
}

.dshp-popup-root .dshp-popup-cards__dots {
	margin-top: 8px;
	display: flex;
	gap: 8px;
}

.dshp-popup-root .dshp-popup-cards__dot {
	width: 9px;
	height: 9px;
	border-radius: 100%;
	border: 0;
	background: #c8c8c8;
}

.dshp-popup-root .dshp-popup-cards__dot.is-active {
	background: #1a6ec9;
}

.dshp-popup-root .dshp-popup-footer {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid #ddd;
}

@media (max-width: 1000px) {
	.dshp-popup-root .dshp-popup-modal {
		margin: 2vh 12px;
		padding: 16px;
	}
}

.dshp-popup-root .button,
.dshp-popup-root button.button,
.dshp-popup-root a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 6px;
	line-height: 1.2;
	text-decoration: none;
}
