.listing-pdf {
	position: relative;
	display: inline-flex;
}

.listing-pdf-icon-button {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 0;
	gap: 5px;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	color: #646970;
	text-decoration: none;
	box-shadow: none !important;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	font: inherit;
	transition: color 0.16s ease, opacity 0.16s ease, transform 0.16s ease;
}

.listing-pdf-icon-button:hover,
.listing-pdf-icon-button:focus-visible {
	transform: translateY(-1px);
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	color: #09090b;
	opacity: 1;
	box-shadow: none !important;
	outline: none;
}

.listing-pdf-icon-button__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 23px;
	height: 23px;
}

.listing-pdf-icon-button__icon svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.listing-pdf-icon-button__label {
	display: block;
	font-size: 11px;
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
}

.listing-pdf__menu {
	position: absolute;
	left: 50%;
	top: calc(100% + 10px);
	z-index: 40;
	display: flex;
	flex-direction: column;
	min-width: 160px;
	max-width: min(220px, calc(100vw - 24px));
	padding: 8px;
	border: 1px solid #d0d5dd;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
	box-sizing: border-box;
	transform: translateX(-50%);
}

.listing-pdf__menu[hidden] {
	display: none;
}

.listing-pdf__item {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: 10px;
	background: #ffffff;
	color: #18181b;
	text-align: left;
	text-decoration: none;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
	cursor: pointer;
	transition: background-color 0.16s ease, color 0.16s ease;
}

.listing-pdf__item:hover,
.listing-pdf__item:focus-visible {
	background: #f3f4f6;
	color: #1d2327;
	outline: none;
}

.listing-pdf-badge {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 8px 14px 8px 10px;
	border-radius: 14px;
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
	border: 1px solid #52525b !important;
	color: #18181b;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08) !important;
	transition: border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.listing-pdf-badge {
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	font: inherit;
}

.listing-pdf-badge:hover,
.listing-pdf-badge:focus-visible {
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
	border-color: #09090b;
	color: #09090b;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1) !important;
	transform: translateY(-1px);
	outline: none;
}

.listing-pdf-badge__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #ffffff;
	border: 1px solid #52525b;
	color: #27272a;
	flex-shrink: 0;
	transition: border-color 0.16s ease, color 0.16s ease;
}

.listing-pdf-badge__icon svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.listing-pdf-badge__text {
	display: inline-flex;
	flex-direction: column;
	line-height: 1.1;
}

.listing-pdf-badge__title {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.listing-pdf-badge__hint {
	margin-top: 3px;
	font-size: 12px;
	font-weight: 400;
	color: #52525b;
}

.listing-pdf-badge:hover .listing-pdf-badge__icon,
.listing-pdf-badge:focus-visible .listing-pdf-badge__icon {
	border-color: #09090b;
	color: #09090b;
}

@media (max-width: 767px) {
	.listing-pdf__menu {
		left: 0;
		right: auto;
		transform: none;
	}
}
