.product-small.box,
.products .product-small.box,
.products .box-image,
.woocommerce-product-gallery__image {
	position: relative;
}

.dnr-app-thumb-wrap img {
	display: block;
	width: 100%;
}

.dnr-app {
	position: absolute;
	z-index: 5;
	display: grid;
	place-items: center;
	margin: 0;
	background: transparent;
	transition: background-color 160ms ease;
	pointer-events: none;
}

.dnr-app--thumb {
	inset: 0;
	width: 100%;
	height: 100%;
}

.dnr-app--single-image {
	inset: 0;
}

.dnr-app:hover,
.dnr-app.is-playing {
	background: transparent;
}

.dnr-app__button {
	position: relative;
	z-index: 2;
	display: inline-grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin: 0;
	padding: 0;
	color: #101820;
	background: rgba(255, 255, 255, 0.94);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
	cursor: pointer;
	pointer-events: auto;
}

.dnr-app__button:focus-visible {
	outline: 2px solid #446084;
	outline-offset: 2px;
}

.dnr-app__play {
	width: 0;
	height: 0;
	margin-left: 3px;
	border-top: 9px solid transparent;
	border-bottom: 9px solid transparent;
	border-left: 14px solid currentColor;
}

.dnr-app.is-playing .dnr-app__play {
	width: 14px;
	height: 18px;
	margin-left: 0;
	border: 0;
	background:
		linear-gradient(to right, currentColor 0 35%, transparent 35% 65%, currentColor 65% 100%);
}

.dnr-app__track {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	margin: 0;
	padding: 4px 6px;
	overflow: hidden;
	color: #fff;
	background: rgba(0, 0, 0, 0.62);
	border-radius: 4px;
	font-size: 11px;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 160ms ease;
}

.dnr-app.is-playing .dnr-app__track {
	opacity: 1;
}

.products .box-excerpt audio,
.products .box-excerpt .wp-audio-shortcode,
.product .summary audio,
.woocommerce-product-details__short-description audio {
	display: none !important;
}

.dnr-app-sticky {
	position: fixed;
	right: 16px;
	bottom: 16px;
	left: 16px;
	z-index: 9999;
	display: grid;
	grid-template-columns: minmax(120px, 1fr) 42px minmax(160px, 2fr) 58px 32px;
	align-items: center;
	gap: 12px;
	max-width: 980px;
	margin: 0 auto;
	padding: 10px 12px;
	color: #fff;
	background: #101820;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	box-shadow: 0 14px 42px rgba(0, 0, 0, 0.34);
}

.dnr-app-sticky[hidden] {
	display: none;
}

.dnr-app-sticky__meta {
	min-width: 0;
}

.dnr-app-sticky__label {
	color: rgba(255, 255, 255, 0.62);
	font-size: 11px;
	line-height: 1.1;
	text-transform: uppercase;
}

.dnr-app-sticky__title {
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dnr-app-sticky__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 5px;
}

.dnr-app-sticky__prev,
.dnr-app-sticky__next,
.dnr-app-sticky__cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	padding: 3px 8px;
	color: #fff;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

.dnr-app-sticky__prev:disabled,
.dnr-app-sticky__next:disabled {
	opacity: 0.42;
	cursor: default;
}

.dnr-app-sticky__cart {
	color: #101820;
	background: #fff;
	border-color: #fff;
}

.dnr-app-sticky__button,
.dnr-app-sticky__close {
	display: inline-grid;
	place-items: center;
	margin: 0;
	padding: 0;
	border: 0;
	cursor: pointer;
}

.dnr-app-sticky__button {
	width: 40px;
	height: 40px;
	color: #101820;
	background: #fff;
	border-radius: 50%;
}

.dnr-app-sticky.is-paused .dnr-app-sticky__button .dnr-app__play {
	width: 0;
	height: 0;
	margin-left: 3px;
	border-top: 9px solid transparent;
	border-bottom: 9px solid transparent;
	border-left: 14px solid currentColor;
	background: none;
}

.dnr-app-sticky:not(.is-paused) .dnr-app-sticky__button .dnr-app__play {
	width: 14px;
	height: 18px;
	margin-left: 0;
	border: 0;
	background:
		linear-gradient(to right, currentColor 0 35%, transparent 35% 65%, currentColor 65% 100%);
}

.dnr-app-sticky__seek {
	padding: 14px 0;
	cursor: pointer;
}

.dnr-app-sticky__bar {
	height: 6px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.22);
	border-radius: 999px;
}

.dnr-app-sticky__progress {
	width: 0%;
	height: 100%;
	background: #446084;
	border-radius: inherit;
}

.dnr-app-sticky__time {
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	text-align: right;
	white-space: nowrap;
}

.dnr-app-sticky__close {
	width: 28px;
	height: 28px;
	color: #fff;
	background: transparent;
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
}

.dnr-app-sticky__close:hover {
	background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 549px) {
	.dnr-app__button {
		width: 54px;
		height: 54px;
	}

	.dnr-app-sticky {
		right: 8px;
		bottom: 8px;
		left: 8px;
		grid-template-columns: 40px minmax(0, 1fr) 30px;
		gap: 8px;
	}

	.dnr-app-sticky__meta {
		grid-column: 2;
		grid-row: 1;
	}

	.dnr-app-sticky__actions {
		gap: 6px;
		margin-top: 4px;
	}

	.dnr-app-sticky__prev,
	.dnr-app-sticky__next,
	.dnr-app-sticky__cart {
		min-height: 22px;
		padding: 2px 6px;
		font-size: 10px;
	}

	.dnr-app-sticky__button {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	.dnr-app-sticky__seek {
		grid-column: 2;
		grid-row: 2;
		padding: 8px 0;
	}

	.dnr-app-sticky__time {
		display: none;
	}

	.dnr-app-sticky__close {
		grid-column: 3;
		grid-row: 1 / span 2;
	}
}
