.shop-item-detail {
	--shop-sticky-top: 10rem;
	--shop-actions-height: 5rem;
	padding-bottom: var(--shop-actions-height);
}

/* The purchase bar replaces the mobile menu on this page. */
.shop-item-detail #bottomMenuWrapper {
	display: none;
}

.shop-item-detail #item-description {
	overflow-wrap: anywhere;
}

.shop-item-detail #item-description :is(img, video, iframe, table) {
	max-width: 100%;
}

.shop-item-detail.purchase-sheet-open {
	overflow: hidden;
}

.shop-item-detail #purchase-controls[data-expanded="false"],
.shop-item-detail #member-purchase-gate[data-expanded="false"] {
	display: none;
}

@media (min-width: 1024px) {
	.shop-item-detail {
		padding-bottom: 0;
	}

	.shop-item-detail #purchase-controls[data-expanded="false"],
	.shop-item-detail #member-purchase-gate[data-expanded="false"] {
		display: flex;
	}
}
