.btn-pwa-install {
	align-items: center;
	align-self: center;
	margin: 0 8px;
	padding: 7px 14px;
	border: 0;
	border-radius: 6px;
	background: #3a3e41;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.btn-pwa-install:hover,
.btn-pwa-install:focus-visible {
	background: #2a2d2f;
	color: #fff;
}

html[scheme="dark"] .btn-pwa-install {
	background: #4a4f53;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Escritorio: el botón queda debajo del interruptor claro/oscuro, alineado a la derecha. */
.pt-header .pt-logo-container .pt-header-widgets.pwa-install-stack {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: flex-end;
	justify-content: center;
	gap: 8px;
}

.pt-header .pt-logo-container .pwa-install-stack .pt-header-widget {
	height: auto;
	padding-left: 0;
	padding-right: 0;
}

.pt-header .pt-logo-container .pwa-install-stack .btn-pwa-install {
	margin: 0;
	align-self: flex-end;
	padding: 5px 0;
	width: 76px;
	justify-content: center;
	font-size: 12px;
}

@media (max-width: 767px) {
	.btn-pwa-install {
		margin: 0 6px;
		padding: 6px 12px;
		font-size: 12px;
	}
}

/* Guía de instalación para Firefox (Android). */
.pwa-install-guide {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.55);
}

.pwa-install-guide__box {
	position: relative;
	width: 100%;
	max-width: 420px;
	padding: 20px 20px 16px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	color: #1a1a1a;
	font-size: 15px;
	line-height: 1.5;
}

.pwa-install-guide__title {
	margin: 0 0 10px;
	font-size: 17px;
	font-weight: 700;
}

.pwa-install-guide__steps {
	margin: 0 0 16px;
	padding-left: 20px;
}

.pwa-install-guide__steps li {
	margin-bottom: 6px;
}

.pwa-install-guide__close {
	position: absolute;
	top: 6px;
	right: 10px;
	padding: 4px 8px;
	border: 0;
	background: none;
	color: #555;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.pwa-install-guide__ok {
	display: block;
	width: 100%;
	padding: 10px;
	border: 0;
	border-radius: 6px;
	background: #3a3e41;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

html[scheme="dark"] .pwa-install-guide__box {
	background: #24272a;
	color: #f1f1f1;
}

html[scheme="dark"] .pwa-install-guide__close {
	color: #ccc;
}
